Opened 16 years ago
Closed 16 years ago
#2959 closed Bug (fixed)
plugin:editingblock reload initial data on empty content
Reported by: | Garry Yao | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.0 |
Component: | General | Version: | SVN (FCKeditor) - Retired |
Keywords: | Confirmed Review+ | Cc: |
Description
Procedures
- Open the replace by code example page;
- Switch to source mode, and delete all content;
- Switch back to wysiwyg mode, check the document:
- Expected Result : The content is empty.
- Actual Result : The initial content data is there:
<p> This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>
Attachments (1)
Change History (4)
Changed 16 years ago by
Attachment: | 2959.patch added |
---|
comment:1 Changed 16 years ago by
Keywords: | Review? added |
---|---|
Status: | new → assigned |
comment:2 Changed 16 years ago by
Keywords: | Review+ added; Review? removed |
---|
It's a matter of coding style. Whenever possible, we should code it just like we would usually say it in spoken language: "if the type of data is different from string". So, you end up with if ( typeof data != 'string' )
. That's the way you'll find it in our code.
If possible, just fix it when committing.
Yet another falsely value issue.