Author Topic: CKeditor changes code  (Read 178 times)

Offline netraam

  • Posts: 22
CKeditor changes code
« on: July 12, 2018, 07:22:32 PM »
Hello,

I have a problem with CKeditor. I like to use the following code to center my content:
Code: [Select]
<div style="max-width:1000px; margin: 0 auto; float: none;">  . When I use it in CKeditor, the first time I save it there is nothing wrong, but the second time I press the save button CKeditor changes the code to something else that doesn't work. Is there a solution for this or are there other Wysiwyg modules the don't change yout html code?

thank you,
Maarten

Offline dbs

  • Betatester
  • **
  • Posts: 7446
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: CKeditor changes code
« Reply #1 on: July 12, 2018, 10:03:12 PM »
Hi, which version of WB?
Have you tried the button DIV in the ckeditor toolbar?