Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

How to prevent putting 'div' tags #206

Open
eskimetalci opened this issue Jan 27, 2016 · 1 comment
Open

How to prevent putting 'div' tags #206

eskimetalci opened this issue Jan 27, 2016 · 1 comment

Comments

@eskimetalci
Copy link

Hi, i'M using the wysiwyg, due to the client's complaints i realized the wysiwyg is enclosing the text with 'div' tags instead of putting
tag.

for example i just write:

text
text

and i get

text< div>text2</ div>

instead of

text< br>text2

It's messing with the data, tags are becoming some html special chars etc and I keep seeing the data was replaced with strange mutated html special characters.
How can we disable or change its behaviour to put
tag isnstead of div enclosing?

@jbroudou
Copy link

jbroudou commented Aug 9, 2016

I'm noticing this as well, but it only occurs in Chrome and not Firefox. When I hit the enter key in chrome a div element is used instead of a br element.
Is this something that this library is doing specifically for the Chrome browser or just an artifact of the browser itself?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants