#4226: EditorTag doesn't set value-attribute if the value is an empty string ----------------------------+----------------------------------------------- Reporter: toni.paloniemi | Owner: Type: Bug | Status: new Priority: Normal | Milestone: Component: General | Version: Keywords: | ----------------------------+----------------------------------------------- EditorTag doesn't set value-attribute if the value is an empty string. The value in this case is left to null, and user will see the text 'null' when using the editor.
Example on how to reproduce: {{{ <fck:editor instanceName="demo" value="" /> }}} The problem is in the EditorTag-file on lines 126 and 127: {{{ if (Utils.isNotEmpty(value)) fckEditor.setValue(value); }}} Either it should only check for null, or the value property of the fckEditor object should have a not null default value. This problem began with version 2.5. The workaround I use to get around this is to insert one space character as a value if my value is empty. -- Ticket URL: <http://dev.fckeditor.net/ticket/4226> FCKeditor <http://www.fckeditor.net/> The text editor for Internet ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ FCKeditor-Trac mailing list FCKeditor-Trac@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fckeditor-trac