Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: Pandos on March 3rd, 2014, 12:31 PM
-
Write a line in Quick reply and switch to the full editor.
Then paste your line again and click submit.
Error: Text is empty.
-
Paste your line again..?
It doesn't delete anything when I click Switch to full editor, so I don't have to paste..?
-
When I'm writing a line in quick reply and then switch to full editor, the text is gone.
-
I tried here from iOS but can't reproduce
-
That's odd. Tested with Chrome and IE. Both the same here on wedge.org.
-
I don't get it.
Tried in ie10 and chrome mobile. Nothing disappears when switching modes...
-
Cant reproduce with firefox 27 on linux.
-
Working fine here on Chrome Version 34.0.1847.11 beta-m
-
Will give it a try later at home. Perhaps it's my firewall here in office.
-
I don't see why your firewall would break it, but... Indeed, I can't think of anything else.
-
Gotcha!
It's an issue with the WYSIWYG editor.
Enabling will break it.
-
You mean, enabling it by default in your profile, and then doing Switch to Full Editor with text entered?
-
I can reproduce this too, in the way that you (Nao) describe :cool:
-
Yes.
-
Okay, found the problem... It's a Pete bug (September 8, 2010... That's basically 2 weeks after Wedge was started!!)
If Wysiwyg is enabled by default, then the quick reply box is also in Wysiwyg by default.
Wedge thinks otherwise, though, and when you switch to the full editor, it requests a mode change from text to Wysiwyg. Because the text mode has no content (it's all in the contentEditable div), the div is thus replaced with empty content.
I've simply removed the couple of lines that requested the change. It seems to work here. I'll have to test in non-Wysiwyg mode, though... :^^;:
:edit: Working, too.
-
Both modes look good to me (and this presumably fixes http://wedge.org/pub/bugs/8282/quick-reply-bug/ also?).
-
Looks like the same error yeah... only I completely missed that topic! (See how I didn't post in it... usually a bad sign ;))
-
*lol*
OK, already mentioned, but completely forgotten by me :)
-
That's why Farjo's job matters :D