hi guys,
I added some styles to the styles.js page.
It works great for h1,h2,h3 etc. but when it comes to DIVs, Whenever I select some text and choose a style from the list, it adds it correctly, but when I press enter, it creates another Div with the same styles, over and over.
Is there a way to make it erase the styles or actually make a new <p> when I type enter
PS: I'm using this setting already --> config.enterMode = CKEDITOR.ENTER_P;
I added some styles to the styles.js page.
It works great for h1,h2,h3 etc. but when it comes to DIVs, Whenever I select some text and choose a style from the list, it adds it correctly, but when I press enter, it creates another Div with the same styles, over and over.
Is there a way to make it erase the styles or actually make a new <p> when I type enter
PS: I'm using this setting already --> config.enterMode = CKEDITOR.ENTER_P;