#377 closed defect (fixed)
Rich Text Editing with a textarea field doesn't work in Safari
Reported by: | Owned by: | alex | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Dijit - Form | Version: | 0.2 |
Keywords: | Cc: | chuckphillips@… | |
Blocked By: | Blocking: |
Description
Rich Text Editing with a textarea field doesn't work in Safari. http://dojotoolkit.org/docs/rich_text.html
Here is my sample code:
<link rel="StyleSheet?" href="/css/dojo.css" type="text/css" />
<script src="/scripts/dojo.js" type="text/javascript"></script> <script type="text/javascript">
dojo.require("dojo.widget.Editor");
</script>
<form method="post" action="test.php">
<div style="border: 1px solid #908f8f;" id="testEditor"> <textarea dojoType="Editor" name="editorContent"
items="textGroup;|;justifyGroup;|;colorGroup;"> some content <br> <br> some more.
</textarea>
<br /><br /> </div>
<input type="submit">
</form>
Attachments (1)
Change History (11)
Changed 14 years ago by
Attachment: | Safari Bug.png added |
---|
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Both Safari and Konqueror doesn't support DesignMode?? and won't work with TextEditor??. KDE team promise (search bugs.kde.org) to include the support in KDE version 4.0.
I suggest you to close both bugs 376 and 377 because this is not the bug of dojo.
comment:3 Changed 14 years ago by
Mine blows up Safari (using textarea widget), which is odd, because other pages demoing the Rich Text Editor all work in safari. Perhaps they're all using DIV tags. I was trying to walk before I started to run (using the .io stuff)
comment:4 Changed 14 years ago by
Cc: | chuckphillips@… added |
---|---|
Milestone: | → 0.4 |
Is this also an issue with Editor2?
comment:5 Changed 13 years ago by
Milestone: | 0.4 → 0.5 |
---|
Unfortunately, also an issue with Editor2, added a testcase to test_Editor2.html.
comment:6 Changed 13 years ago by
Owner: | changed from anonymous to liucougar |
---|
comment:7 Changed 13 years ago by
Owner: | changed from liucougar to alex |
---|
I do not have access to safari, so reassign this to alex
comment:8 Changed 13 years ago by
Component: | Widgets → Dijit |
---|
comment:9 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
it works in dijit as of 2007-07-12
comment:10 Changed 9 years ago by
Component: | Dijit → Dijit - Form |
---|
This seems to grant the correct amount of space to the textarea, but neither the toolbar nor the text are visible. Using the default or custom toolbars make no difference.
The Editor in a div works, just not the textarea.
The iframe does load ( I changed the background color to make sure), but I can't tell if the document loads in the iframe. And if it loads ( the status bar DOES reflect a much higher number of elements after the iframe), it does not render in the space provided.
The iframe that gets created in RichText?.js for safari works ok on it's own as a flat html page.
If I change line 152 in RichText? dojo.render.html.ie to dojo.render.html.safari
I get to play with the text and it saves OK, but I get no toolbar.