NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item1549: TML-to-HTML conversion entered into Editor's undo-history

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Low Confirmed Extension TinyMCEPlugin  
When the TMCE is first opened, the undo button is disabled (perhaps because the edit window does not have focus). However, when I select the edit window, the undo button is enabled. If I click undo, it looks the conversion from TML to HTML is undone.

To reproduce:
  • Click Edit on any topic and wait for the TMCE to load and be fully loaded.
  • Click in the edit window to give it focus.
  • Click undo.
You end up with the TML for the topic but with the newlines removed.

This may be related to Item5178.

I am using Firefox 3. I am using the default skin.

-- MichaelTempest - 01 May 2009

The undo history is under the control of TinyMCE? , and if it chooses to store the conversion in the undo history, I'm not sure there's anything we can do about it. Maybe we need to clear the undo history in the conversion function?

-- CrawfordCurrie - 24 May 2009

I like being able to undo and redo changes make in wikitext, from within TMCE. Perhaps we should only clear the undo history when the TML is first converted to HTML?

-- MichaelTempest - 25 May 2009

Making this 'low' - but note to whoever goes to fix this - if we go for the "don't record the initial "please wait" response' approach, might as well use that same logic to help the autosave plugin do its job (at the moment, autosave is saving editor content, but never has a chance to restore it thanks to the tml2html procedure when we start up)

-- PaulHarvey - 25 Jun 2010

ItemTemplate edit

Summary TML-to-HTML conversion entered into Editor's undo-history
ReportedBy MichaelTempest
Codebase trunk
SVN Range 3974
AppliesTo Extension
Component TinyMCEPlugin
Priority Low
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r4 - 25 Jun 2010 - 06:50:47 - PaulHarvey
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads