Tags:
create new tag
view all tags

SID-00679: TinyMCE loses formatting when using quotes

Status: Answered Answered TWiki version: 4.3.2 Perl version: v5.8.5 built for x86_64-linux-thread-multi
Category: WysiwygPlugin Server OS: CentOS release 4.4 (Final) Last update: 16 years ago

In one of my pages, I tested the use of the typewriter button in the WYSIWYG editor to style monospaced typewriter text. I noticed that the formatting isn't retained when the same text is contained within quotes. (For example: "typewriter" and "monospaced typewriter")

When you click the anchor button to enter Raw Edit mode the typewriter text in quotes is replaced by <span></span> tags. If you save the page without flipping to Raw Edit first, the <span></span> tags don't appear.

The same problem does not occur when quotes surround "bold face text", "italic text", and "colored text".

I'm not sure if this is a WysiwygPlugin or TinyMCEPlugin problem.

Thanks,

-- TonyChung - 2009-12-18

Discussion and Answer

Looking forward to hearing anyone's responses now that we're all fresh into the new year!

-- TonyChung - 2010-01-12

I just tested and it looks normal to me. in WYSIWYG mode, typing test normal bold test "quoted bold" test, then bolding normal bold and quoted bold has the expected effect. A Raw View, Raw Edit, or raw switch via pickax shows this:

test *normal bold* test "<strong>quoted bold</strong>" test

TML (TWiki Markup Language) requires whitespace or parenthesis around bolded words. To get around the TML limitation, the WYSIWYG editor needs to do a workaround to bold text enclosed in double quotes using <strong> tags.

-- PeterThoeny - 2010-01-12

<verbatim> <span>...</span> </verbatim>

In the above syntex - span is lost. This is an issue.

Request you to check the following bugs (color stuff is fixed)

Hoping to fix the bugs as soon as possible.

cheers

-- SopanShewale - 2010-01-14

Thanks Peter, Sopan... It helps me to have an understanding of how WYSIWYG and TWiki play together, so I can coach our team to workaround the quotes and span issue until the bug fixes are merged into production.

And Peter, the problem isn't when quoted text appears within equals signs. It's when the equals signs appear within quotes. Your comment that TML requires the text to be surrounded with spaces makes total sense to me.

"this" is different from "=this=" ... but in the latter, there are no spaces between the quotes and the equals.

-- TonyChung - 2010-01-14

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title TinyMCE loses formatting when using quotes
SupportCategory WysiwygPlugin
TWiki version 4.3.2
Server OS CentOS release 4.4 (Final)
Web server Apache/2.0.52 Server
Perl version v5.8.5 built for x86_64-linux-thread-multi
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2010-01-14 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.