hi guys,
In my application, when the user starts tipying the style should be automatically applied. For example, when the user types "hello world" the output html should be <div style="text-align: justify; padding-top:10px;">Hello World</div>. I´ve change the enterMode to use DIV instead of P but I am not able to apply style attibutes until selecting the right one in the Style combo. I´ve already tried to change default DIV style without success. It is simply ignored.
How can I solve this?
* PS: I really need that style attributes to properly convert the produced html to PDF
In my application, when the user starts tipying the style should be automatically applied. For example, when the user types "hello world" the output html should be <div style="text-align: justify; padding-top:10px;">Hello World</div>. I´ve change the enterMode to use DIV instead of P but I am not able to apply style attibutes until selecting the right one in the Style combo. I´ve already tried to change default DIV style without success. It is simply ignored.
How can I solve this?
* PS: I really need that style attributes to properly convert the produced html to PDF