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

Item5699: TinyMCE editor breaks TWki variable definition statements

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCE Normal 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

The TinyMCE editor is appending an invisible character onto the end of TWiki variable definition statements, for example:
   * Set WORKFLOW = DocumentApprovalWorkflow 
This breaks plugins, such as the WorkflowPlugin, as well as other commonly used Twiki features that fail to recognize the DocumentApprovalWorkflow with the extra invisible character appended to it.

Example text with extra invisible character here:

   * Set WORKFLOW = <nop>DocumentApprovalWorkflow 
NOTE: The extra character can be seen by editing this page and appears after the 'w' in DocumentApprovalWorkflow. This bug shows up on installation and testing of the current release of the WorkflowPlugin. The WorkflowPlugin was not tested with TWiki 4.2.0 and TinyMCE editor?

Also the TinyMCE editor destroys

<DIV>
tags used to display things like TWiki Tips of the day. For example this text:
<div style="PADDING-RIGHT: 1em; PADDING-LEFT: 1em; FLOAT: right; PADDING-BOTTOM: 1em; WIDTH: 255px; PADDING-TOP: 1em">%INCLUDE{ "TWiki.TWikiTipsOfTheDayInclude" warn="off" }%<br></div>

is destroyed into this text after saving with the editor:

%INCLUDE{ "TWiki.TWikiTipsOfTheDayInclude" warn="off" }%

-- TWiki:Main.SteveDominic - 13 Jun 2008

The bug that adds a space after a bullet has been fixed. Try to update your Wysiwyg.

The other bug I do not understand.

If you add html into the document like DIV statements without protecting them with sticky tags then TMCE will always clean up the mess. That is normally a good thing when you copy from somewhere else into TWiki.

The Tiny based Wysiwyg editor is an HTML editor and TWiki converts pretty well between HTML and TML.

Unless I am wrong there is no action here. But while I tested for your bug I noticed that the newline eating bug is back.

I am putting this in no action. Reopen if I have misunderstood. Or better make a new bug item. You raised TWO different bugs in the same report and that makes it difficult for us to handle. We prefer one bug item for each bug - even if they are related.

-- KennethLavrsen - 13 Jun 2008

ItemTemplate
Summary TinyMCE editor breaks TWki variable definition statements
ReportedBy TWiki:Main.SteveDominic
Codebase 4.2.0
SVN Range TWiki-5.0.0, Sun, 01 Jun 2008, build 16865
AppliesTo Extension
Component TinyMCE
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-06-13 - KennethLavrsen
 
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