html - Wysiwyg editor puts additional 'div' tags -


i'm using ace theme modified zend framework 2. have problem wysiwyg editor. in website doesn't mention name or source code etc wysiwyg...

whenever press 'enter' make newline, want put 'br' tag instead encloses text div tags.

i tried check configurations, init functions of wysiwyg, couldn't find way change it.

briefly:

this must have

text<br>text2 

this gives

text<div>text2</div> 

have checked different browsers,

because google chrome use div tag on key down event of textarea, firefox doesn't that, add
tag.

for more understanding read below link :

prevent contenteditable adding <div> on enter - chrome


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -