Opened 12 years ago
Closed 12 years ago
#8258 closed defect (wontfix)
empty dijit.Editor contains single space
Reported by: | gerhard presser | Owned by: | liucougar |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Editor | Version: | 1.2.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
when defining an empty dijit.editor in my website, it is not empty at all! it contains a single whitespace!
<textarea dojoType="dijit.Editor" height="60px" name="description" id="description" plugins="['bold','italic','underline','insertOrderedList', 'insertUnorderedList', 'createLink', 'insertHtml','foreColor']"></textarea>
but when i do following it works
<textarea dojoType="dijit.Editor" height="60px" name="description" id="description" plugins="['bold','italic','underline','insertOrderedList', 'insertUnorderedList', 'createLink', 'insertHtml','foreColor']"/>
please help
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Component: | General → Editor |
---|---|
Owner: | changed from anonymous to liucougar |
comment:3 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
yes, it is needed there, otherwise you can't click into it
in your app logic, treat a space as empty input from user
Note: See
TracTickets for help on using
tickets.
wasn't there an issue where a single space was necessary in order to click to edit? or is that inlineeditor I'm thinking of? I seem to think this was deliberate.