Hi,

> i use the qx.ui.embed.HtmlArea. I want to insert my own content in the
> HtmlArea . Thats no problem with qooxdoo:
> HtmlArea(String value, (String | Map | null) styleInformation, String
> source)
> 
> Now i want to add my own stylesheet rules. To do this i have one
> stylesheet-file that includes all sub-files. (/css/layout.css) So that
> my
> content in the htmlarea looks like the content before the htmlarea was
> rendered.
> 
> Because i can only define style Information like { “*” : “font-size:
> 12px” }
> i add the stylesheet tag after my content (see sourcecode below at
> point 1).
> Now the problem is that qooxdoo insert default tags around the code
> (look on the picture), that influenced my own stylesheet rules.
> 
> Is there an option to hide this tags?
If you add your stylesheet rules as content this won't work. Adding a 
stylesheet only works for the document within the call is executed, so you need 
to be able to execute the "qx.bom.Stylesheet.createElement" method from within 
the iframe.
Since the iframe is "only" a placeholder for the content this won't work until 
the feature is added. So please create a enhancement bug report for this issue 
if you want to see the feature in future.

Meanwhile you need to stick with the third parameter of the constructor 
("styleInformation") to push your styles into the iframe of the HtmlArea.

cheers,
  Alex
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to