This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I am creating a simple text editor using designMode that targets the FireFox browser, but I am having trouble initializing content for a dynamically created iFrame in FireFox as shown with the code below.
In Opera, the code below shows "DynamicIframe" and "StaticIframe" on the page - but in FireFox the "DynamicIframe" does not show.
I have also attempted creating a new textnode and appending that - this also does not work in firefox
PS. I am targeting FireFox because FireBug is good for development, Firefox is more standard compliant than IE, and I can specify that users use FireFox for the functionality that I am developing
when in doubt put it in parenthesis and stick a dollar sign in front of it, only good can come from this.
I ended up inserting the DOJO editor into my project today. It does the job but not ideal.
The established editors are too highly developed and difficult to 'tune down' to my needs. In my application I have an arbitrary amount of user created editable divs in which I would like the user to be be able to edit the text also, with some basic formatting such as bold etc. The way I used DOJO today is to have the user double click on an editable div to have the DOJO editor come up as a pop up - communicating through the getValue and setValue methods with the editable div. It will do for the time being.
I also did some more research and designMode is a bit crazy across the browsers