jquery-notebook icon indicating copy to clipboard operation
jquery-notebook copied to clipboard

Problems with Undo when removing all text of the editor

Open raphaelcruzeiro opened this issue 12 years ago • 3 comments

Currently, the editor is unable to perform a Undo command when all text text of the editor is removed. This is probably because of the placeholder text logic.

raphaelcruzeiro avatar Feb 12 '14 19:02 raphaelcruzeiro

Perhaps the placeholder should be placed outside the editor (maybe a pseudo-class?) @otaviosoares what do you think?

raphaelcruzeiro avatar Feb 13 '14 19:02 raphaelcruzeiro

I totally agree. Separate concerns of placeholder and content is the way to go.

otaviosoares avatar Feb 13 '14 20:02 otaviosoares

Unfortunately, the solution for this caused a more serious bug (#59).

raphaelcruzeiro avatar Feb 19 '14 13:02 raphaelcruzeiro