Author Topic: CKeditor changes code  (Read 489 times)

Offline netraam

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

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,

Offline dbs

  • Betatester
  • **
  • Posts: 8010
  • 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?