Threaded View
-
28 Nov 2012 11:36 PM #1
Answered: HtmlEditor's word wrap when the word is longer than the line
Answered: HtmlEditor's word wrap when the word is longer than the line
Hi!
I'm using Ext.form.field.HtmlEditor as my handmade wiki's page editor. It works great except line wrap:
htmleditor.png
So I wonder if there is any way to make the editor break words as they get longer than the line size?
I looked through the source code of the component but don't get how that funky magic with hidden text area and iframe works. So I don't know how to intervene.
Configuration
doesn't work either (fat chanceCode:style: { 'word-wrap': 'break-word' }
)
-
Best Answer Posted by mitchellsimoens
What you are seeing is an iframe unless you click to be in source edit


Reply With Quote