Opened 16 years ago

Closed 15 years ago

Last modified 11 years ago

#377 closed defect (fixed)

Rich Text Editing with a textarea field doesn't work in Safari

Reported by: [email protected] Owned by: alex
Priority: high Milestone: 0.9
Component: Dijit - Form Version: 0.2
Keywords: Cc: [email protected]
Blocked By: Blocking:


Rich Text Editing with a textarea field doesn't work in Safari.

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">



<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.


<br /><br /> </div>

<input type="submit">


Attachments (1)

Safari Bug.png (75.9 KB) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (11)

Changed 16 years ago by anonymous

Attachment: Safari Bug.png added

comment:1 Changed 16 years ago by [email protected]

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? to dojo.render.html.safari

I get to play with the text and it saves OK, but I get no toolbar.

comment:2 Changed 16 years ago by anonymous

Both Safari and Konqueror doesn't support DesignMode?? and won't work with TextEditor??. KDE team promise (search 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 16 years ago by anonymous

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 16 years ago by dylan

Cc: [email protected] added
Milestone: 0.4

Is this also an issue with Editor2?

comment:5 Changed 15 years ago by dylan

Milestone: 0.40.5

Unfortunately, also an issue with Editor2, added a testcase to test_Editor2.html.

comment:6 Changed 15 years ago by dylan

Owner: changed from anonymous to liucougar

comment:7 Changed 15 years ago by liucougar

Owner: changed from liucougar to alex

I do not have access to safari, so reassign this to alex

comment:8 Changed 15 years ago by bill

Component: WidgetsDijit

comment:9 Changed 15 years ago by Adam Peller

Resolution: fixed
Status: newclosed

it works in dijit as of 2007-07-12

comment:10 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.