Tuesday, August 25, 2015

How to combine or reduce number of <style> tag for GWT generated page

I'm using UIBinder with <ui:style> for each widgets, each widget will have a separated <style> that generated by GWT, so there are a lot of that element in one page.

It works well until I tried to wrap the CKEditor as GWT widget, it didn't work on IE8-9, because CKEditor required to add some more <style> tag while IE only allows maximum 31 tags in one page, so CKEditor was unable to add more style, and it couldn't work on my application.

I'm considering to reduce number or style tag, combine them, or study how to override some functions defined by CKEditor, however it's hard, and I don't have any idea now.

Anyone do you have any experience on that domain, please give me some advice

Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment