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

Item5105: How to have a right-aligned line

Item Form Data

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

I have a line to be right-aligned. In raw text editing, I can do it by: <div style="text-align: right">...</div>.

When a page containing it is edited by Tiny MCE, the div tag is kept. But when it's saved, it's removed.

Is this an expected behavior? If so, what's a way to have a right-aligned line in a Tiny MCE safe manner?

-- TWiki:Main/HideyoImazu - 10 Dec 2007

The only way to do this to protect the div with the attribute. in WysiwygPlugin you will find instructions for setting WYSIWYGPLUGIN_STICKYBITS

I don't think right-aligning in this way is a popular requirement, so i'm not going to add it as a default (it would make importing styled content from M$ Word a complete mess)

CC

ItemTemplate
Summary How to have a right-aligned line
ReportedBy TWiki:Main.HideyoImazu
Codebase 4.2.0, ~twiki4
SVN Range TWiki-4.3.0, Sun, 25 Nov 2007, build 15790
AppliesTo Extension
Component TinyMCEPlugin
Priority Enhancement
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 - 2007-12-14 - CrawfordCurrie
 
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