You are here: Foswiki>Tasks Web>Item12203 (05 Jul 2015, GeorgeClark)Edit Attach

Item12203: Help tab shows raw editing help

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: NatEditPlugin
Branches: master
Reported By: ArthurClemens
Waiting For:
Last Change By: GeorgeClark
The tab content should be context sensitive, and show WYSIWYG help with that edit mode.

-- ArthurClemens - 30 Oct 2012

Which one is the WYSIWYG help?

-- MichaelDaum - 30 Oct 2012

edit.tmpl has this:
%TMPL:DEF{"help"}%
<div class='foswikiMakeVisible'>%INCLUDE{"%SYSTEMWEB%.%IF{"defined 'EDITOR_HELP'" then="%EDITOR_HELP%" else="WikiSyntaxSummary"}%"}%</div>
%TMPL:END%

-- ArthurClemens - 30 Oct 2012

Where is EDITOR_HELP set? Does it switch to something wysiwyg related automatically?

Btw, NatEditPlugin does this

%TMPL:DEF{"helptab"}%%TAB{"%MAKETEXT{"Help"}%" 
  id="help"
  url="%SCRIPTURL{"view"}%/%IF{"defined NATEDIT_HELPTEXT" then="%NATEDIT_HELPTEXT%" else="%SYSTEMWEB%.NatEditHelpText"}%?skin=text;section=default"
  container=".natEditHelp"
}%%TMPL:P{"edithelp"}%%ENDTAB%%TMPL:END%

So it will load a page from NATEDIT_HELPTEXT being a full web.topic name if defined or use System.NatEditHelpText by default which then %INCLUDEs EditingShorthands ... which I find more helpful than WikiSyntaxSummary, a very sparse help page.

-- MichaelDaum - 23 Nov 2012

Given that we've switched to NatEditPlugin by default, setting this to No Action ... Nope, Arthur is right. The Help panel for NatEditPlugin shows the TML related help even when running the Wysiwyg editor. Entering TML into the Wysiwyg / TinyMCE editor probably won't get the user what they want. Probably better to just suppress the help text when Wysiwyg is active.

-- GeorgeClark - 23 Dec 2014

But what if they switch to "Wiki Text"?

-- MichaelDaum - 07 Jan 2015

Good point. So maybe the help panel just needs a bit of info at the top describing the TMCE editor, And still include the TML. We often see users type TML into the Wysiwyg editor, which often doesn't work. Set statements frequently get messed up that way for the new user.

-- GeorgeClark - 07 Jan 2015
 
Topic revision: r11 - 05 Jul 2015, GeorgeClark
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