Download & Extend

switch to plaintext editor - not saving / need to click save twice

Project:YUI Rich Text Editor
Version:6.x-2.33
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:plain editor, plaintext, save

Issue Summary

I'm experiencing a bug using the most recent versions of yui + yui editor (btw, thanks for all the great work so far).

When you switch to the plain editor, then make a change in the code, then click save it reverts all of the code in the body box back to what was previously saved for the node. Then, if you make your change again and click save a second time, it saves it.

Steps to reproduce:
1. Edit a node and switch to Plain Editor
2. Make a change in the markup in the body field
3. Click save -- the markup in the body field will be reverted
4. Make a change in the markup in the body field
5. Click save -- the node is saved with the changes

Comments

#1

Title:switch to plain text - need to click save twice» switch to plaintext editor - not saving / need to click save twice

#2

Issue tags:+plaintext, +save

#3

nobody click here