htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Support Requests:
problem inserting HTML


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


Lorenzo
Novice

Feb 8, 2005, 2:25 PM

Post #1 of 1 (19478 views)
Shortcut
problem inserting HTML Can't Post

hello, I'm using HTMLarea 3, and I've found a bug that is very important for me to be fixed: I've made a tool that inserts little images linked automatically to the image at the original size. It's more difficult to do this using the standard functions (insertLink, inserImage, ecc), but it is very simple if I use insertHTML. So, I create an extern button that does something like this:

Code
 editor.insertHtml('<a href=".."><img src=".." class=".." /></a>');

It works, but NOT in IE 6 (I think also 5+) into a div that float like this: <div style="display: block; float: right;"> some text</div> In this case, if I put the cursor into the div, without selecting something, and I press the button, appears nothing, and the function insertHtml doesn't work. Try it with the example "full-loaded", create a div with floating and try to insert some html! Thank you, it's quite important, because lot's of sites web standard use floating div. (also my web-site) Lorenzo

 
 
 


Search for (options)