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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -