Opened 11 years ago

Closed 10 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 10 years ago by Adam Peller

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.

comment:2 Changed 10 years ago by Adam Peller

Component: GeneralEditor
Owner: changed from anonymous to liucougar

comment:3 Changed 10 years ago by liucougar

Resolution: wontfix
Status: newclosed

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.