mindmup / bootstrap-wysiwyg

Tiny bootstrap-compatible WISWYG rich text editor
MIT License
5.56k stars 841 forks source link

It looks like, textarea placeholders are not supperted. #136

Open derblub opened 10 years ago

derblub commented 10 years ago

Are there any plans to integrate this feature?

outluch commented 10 years ago

From descrption: Does not create a separate frame, backup text areas etc - instead keeps it simple and runs everything inline in a DIV

steveathon commented 10 years ago

I've added this in as a bit of a hack. Works in the above commit. Please test and let me know if it breaks anything.

derblub commented 10 years ago

Currently I'm a little short on time - will report back asap.

steveathon commented 10 years ago

No problems - I've been testing it with some others here these past days. Working like a treat. The only problem I've come across is if you cut/paste an image into the editor, without typing any text, it will do a focus(), which triggers the placeholder check.

For some reason (to be determined), it will reset to placeholder. However, stick some text in first and it's fine. This also happens if you are using the HTML button I merged in, because it does the same thing.

Basically, text first then image, and you'll be fine - just a heads up!