• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4735: Link formatting is contagious

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCEPlugin Low No Action Required   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
Summary Link formatting is contagious
ReportedBy TWiki:Main.BuckGolemon
Codebase

SVN Range TWiki-4.3.0, Sat, 22 Sep 2007, build 14996
AppliesTo Extension
Component TinyMCEPlugin
Priority Low
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-10-05 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback