• 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.

Item5961: WysiwygPlugin: Bolding single character within a word introduces spaces around bolded character

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WysiwygPlugin Normal Closed   patch 4.3.0

Edit Form Data

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

Detail

If I write Some prose, and want to bold the 'n' in one, what happens?

If you select the 'n', then hit B, when you save, you get spaces between the 'o', 'n', 'e'.

This is clearly not what the user intended.

-- TWiki:Main/SvenDowideit - 26 Aug 2008

worse, if you hand hack in the html 'b' bold tag, next time around, TWiki removes it.

I was talking to Harlan the other day, and I wondered if we should write some code to convert all literal html to custom %TML% tags (that Wysiwyg can then round trip convert successfully - due to its knowledge..), so that they can be protected abstracted and managed automatically.

  • Set STARTB =
  • Set ENDB =

If I write Some prose, and want to bold the 'n' in one, what happens?

-- TWiki:Main.SvenDowideit - 26 Aug 2008

As you have discovered, TML makes for a pretty poor text processor.

However the WYSIWYG converter should not put spaces into one. It's not supposed to convert to TML unless it has a suitably positioned space.

Confirmed.

With regards to the hacking HTML tags to TML; so you want to extend TML to be a superset of HTML? Do you really want to do that? How do you plan to pass parameters to these tags?

-- CrawfordCurrie - 27 Aug 2008

I don't want to pass parameters, and I don't want to make it an important functionality - more a way to aggregate the literal html tag usages, abstract them, and help us developers and our users to identify which are common and should do with more support.

-- TWiki:Main.SvenDowideit - 31 Aug 2008

Fixed on trunk and 04x02 release branch. Any unusual effects with emphasis, let me know; it's all a bit delicate.

-- CrawfordCurrie - 22 Oct 2008

ItemTemplate
Summary WysiwygPlugin: Bolding single character within a word introduces spaces around bolded character
ReportedBy TWiki:Main.SvenDowideit
Codebase 4.2.3
SVN Range TWiki-5.0.0, Mon, 18 Aug 2008, build 17431
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:17679 TWikirev:17680
TargetRelease patch
ReleasedIn 4.3.0
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r9 - 2009-04-08 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback