Hi Everybody,
I've got a question. I want to use the built in dhtml editor in ie5.5 from within a modaldialog box.
Normally I would use an iframe and set iframe.document.designMode = 'on'. But this doesn't work in a modaldialog box(opened with showmodaldialog).
Is this possible?
Thanks in advance.
Greetz Jolly.
ie5.5 dhtml editor within modaldialog
Moderator: General Moderators
-
jollyjumper
- Forum Contributor
- Posts: 107
- Joined: Sat Jan 25, 2003 11:03 am
maybeworks in a modal dialog
Code: Select all
<html>
<body>
<div style="border: 1px solid silver;" contenteditable="true">edit me</div>
</body>
</html>If you're developing for IE 4+ only, have a look at the TextRange-Object - which is quite powerful, yet somewhat buggy (e.g. cut'n paste only works reliably with pure ASCII, not formated text like MS Word).