Sorry but I could not see your example code.

By the way, 

Console.log(sage.getContentElement().getDomElement());

will show you the DOM elements you are interested in.

The property "html" is just one way, you are bale to set HTML code as String 
and the widget lets it be evaluated by the browser. But the property still just 
holds the string, not the evaluated and maybe modified DOM elements.

Your third party library will sure make some modification on the DOM, so please 
use getDomElement().

Gruß
Mustafa Sak

Applications & Integration
1&1 Internet AG | Ernst-Frey-Straße 10 | 76135 Karlsruhe | Germany


-----Ursprüngliche Nachricht-----
Von: Bober [mailto:bober1...@gmx.de] 
Gesendet: Mittwoch, 4. März 2015 14:07
An: qooxdoo-devel@lists.sourceforge.net
Betreff: Re: [qooxdoo-devel] Get current code in embed.Html (with Sage cell)

Dear Mustafa,

thanks for the answer.

I simply bound the sage lib to the whole application using 



in the head of the index.html

Is there a better way to do so?

How exactly am I supposed to implement my html code?
And how can I access the code in it?

Right now I am using a button that shows a alert containing the html value
of the embeded html:

apply_button.addListener("execute", function(e) {
                                
                                alert(sage.getHtml);
});

Regards,

Bober



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Get-current-code-in-embed-Html-with-Sage-cell-tp7586907p7586913.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to