Item10930: When editing using the 'wiki text' editor no WYSIWYG button is shown

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release: minor
Applies To: Extension
Component: NatEditPlugin, TinyMCEPlugin
Branches:
Reported By: MichaelMell
Waiting For:
Last Change By: CrawfordCurrie
-- MichaelMell - 29 Jun 2011

When clicking on "Edit wiki text" for a topic, the editor window does not give the option for showing the WYSIWYG editor. If, however, you click on "Edit" for a topic you will get the WYSIWYG editor with the option of switching to wiki text editing. For convenience it would make sense to unify the behavior so that you also get the WYSIWYG editor option in the wiki text editor for easy switching.

-- MichaelMell - 29 Jun 2011

Very good point. This is probably an artifact of when WYSIWYG was a new (unstable?) feature - perhaps they wanted to make really sure WYSIWYG didn't appear at all when they were sure they didn't want it.

I've left WaitingFor some of WysiwygTaskTeam, to ask input on the implementation idea:
  • We probably don't want WYSIWYG available when using ?nowysiwyg=1. True or false?
  • Assuming this is true, add a new option - ?wysiwyg=on ? Or: ?editor=wysiwyg - or ?editor=tinymce ?

Hmm. The requested functionality is very simple.

This is the reason I wanted to use a cookie (or session variable) to remember the last used editor. Maybe that's a better idea.

I'm wary of changing the semantics of ?nowysiwyg=on because traditionally this disables WysiwygPlugin entirely.

-- PaulHarvey - 30 Jun 2011

I am against changing the semantics of ?nowysiwyg=on.

If clicking the normal "edit" link would open the wysiwyg editor, then I see no harm in putting a WYSIWYG button on the raw edit page. In contrast, if the normal "edit" link opens the raw text editor, then there should not be a WYSIWYG button on the raw edit page.

I suggest that "edit raw text" link should have something like ?editor=wikitext or ?editmode=wikitext. In that case, the WYSIWYG button would be present, and the WYSIWYG editor may even be loaded (to be discussed - this might be a bad idea) but the edit page defaults to the wikitext mode.

I've added MichaelDaum to the WaitingFor list - he may have some input to give from a NatEdit perspective (other perspectives welcome, too smile ).

-- MichaelTempest - 30 Jun 2011

Actually the reason, why I noticed this is that there is the annoying behavior that if you press "save and continue" in WYSIWYG editor, while it is in wiki text mode, it will jump back to the WYSIWYG mode, which interrupts work flow. (I tend to save often for security.)

-- MichaelMell - 30 Jun 2011

Indeed. Which is why I like the idea of just remembering the last-used editor in a session variable.

-- PaulHarvey - 30 Jun 2011

As this is a very old mis-feature/bug, I've set as enhancement for the benefit of those reading release notes

-- PaulHarvey - 01 Jul 2011

Can't say what's going here.

-- MichaelDaum - 26 Aug 2011

See also Item11651

-- PaulHarvey - 16 Mar 2012

The bug pointed out by MichaelMell (Item11651) is fixed in 1.2 and NatEdit. But this issue still exists, there is no way to flip to Wysiwyg from wikitext editor, and if you start out in Wysiwyg and click WikiText, there is no way to get back to Wysiwyg.

-- GeorgeClark - 06 Jan 2015

Fixed some time ago. Closing.

-- Main.CrawfordCurrie - 24 Mar 2017 - 16:01
 

ItemTemplate edit

Summary When editing using the 'wiki text' editor no WYSIWYG button is shown
ReportedBy MichaelMell
Codebase 1.1.3
SVN Range
AppliesTo Extension
Component NatEditPlugin, TinyMCEPlugin
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease minor
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r11 - 24 Mar 2017, CrawfordCurrie - This page was cached on 15 Jun 2019 - 22:51.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy