You are here: Foswiki>Tasks Web>Item2297 (13 Mar 2011, PaulHarvey)Edit Attach

Item2297: Refactoring TinyMCEPlugin with JQuery

pencil
Priority: Enhancement
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: TinyMCEPlugin
Branches:
Reported By: PaulHarvey
Waiting For: Main.PaulHarvey
Last Change By: PaulHarvey
This task used to talk about TinyMCEPluginShouldBeMoreModular

I'm now using it to implement JQuery-fied TinyMCEPlugin.

To-do:
  • Robust network handling Item5045
  • Separate out WysiwygPlugin javascript rest stuff into WysiwygPlugin for better reusability by non-TMCE editors
  • Refactor all the Wysiwyg/TMCE code into JQuery
  • Be mindful of any opportunities to easily add event hooks required by Eg. NatEditPlugin
  • Be mindful of any opportunities to easily load plugins from other extensions so that their js may live outside the System/TinyMCEPlugin directory
  • Implement as a JQueryPlugin, which I haven't seriously thought through yet. Need to look at drupal more closely. Brainstorming:
$('#textareaid').foswikiEditor(
   {
      initialEditor: 'none', 
      editors: ['TinyMCEPlugin', 'CKEditorPlugin', 'none']
   }
);

-- PaulHarvey - 26 Feb 2010

Paul, All of the commits for this have all made it into 1.1 branch. Is this work completed, and can the task be closed?

-- GeorgeClark - 13 Mar 2011

I did the first steps, but never properly "jquery-fied" our TinyMCEPlugin.

We can close this now. I intend to do this work in a different task. Thanks for bumping.

-- PaulHarvey - 13 Mar 2011

ItemTemplate edit

Summary Refactoring TinyMCEPlugin with JQuery
ReportedBy PaulHarvey
Codebase trunk
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Extension
Component TinyMCEPlugin
Priority Enhancement
CurrentState Closed
WaitingFor PaulHarvey
Checkins Rev 6227 not found distro:f73190fbd024 distro:446b8c60f572 distro:34d795cfeb10 distro:3663b783d340 distro:d50bf4201d5e
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r10 - 13 Mar 2011, PaulHarvey
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