Typing directly after a link in the
TinyMCE editor causes the blue underlined font to be used. This cannot be undone, however the Wysiwyg plugin seems to do the "right thing" on save and only make the actual link into a link and the rest of the text is saved as plain text, even though it is displayed before save as blue and underlined. This breaks the principle of seeing what you get (and getting what you see).
I believe the
TML2HTML converter uses a styled span to represent the links, and the
TinyMCE editor automatically expands the spans if you add text adjacent to them, which is not desireable if the added text includes whitespace (ending the TWiki link).
On a somewhat related note; the "break link" button does not remove this formatting, even though it should by intuition.
--
TWiki:Main/BuckGolemon
- 27 Sep 2007
I believe this is a visual effect only, and that it always does the right think on save. Can you please confirm that? If it is the (known) visual problem only, then this needs to be pushed upstream to
TinyMCE (suggestion: "Clicking the end of a span positions the cursor inside the span instead of outside it")
CC
I'm fairly sure you're right. If you just ignore the strange visual effect, it does the right thing. Would it be hard to make a
TinyMCE plugin that can handle things such as applying that span to
WikiWords and ending the span at spaces?
Do you want me to make the
TinyMCE ticket or will you?
--
TWiki:Main.BuckGolemon
- 04 Oct 2007
Item4754 has been marked as duplicate of this one.
Change to waiting for Crawford to answer Buck's question.
--
TWiki:Main.KennethLavrsen
- 05 Oct 2007
Would it be hard to make a TinyMCE plugin - I don't know, sorry. I don't know enough about what you can/can't do with
TinyMCE plugins to advise. Try asking on the
TinyMCE forum
http://tinymce.moxiecode.com/punbb/viewforum.php?id=1&p=1
CC