TinyMCEPlugin Development

This is the topic to discuss development of download TinyMCEPlugin

help If you need support, go to Support.TinyMCEPlugin where you can ask questions and find answers to previously asked questions. warning If you want to report a bug, or a feature request, go to Tasks.TinyMCEPlugin where you can see already submitted issues and where you can submit a new bug report or feature request.

Active Items

Id Summary Priority Current State Creation Date Last Edit
Item5879 TinyMCE doesn't bind keys for AppleWebKit (e.g. Fluid.app) Enhancement New 04 Aug 2008 - 14:43 11 Dec 2008 - 16:23
Item6099 WYSIWY(A)G - verbatim / highlighting confusion Normal Confirmed 24 Oct 2008 - 18:30 04 Jan 2009 - 12:09
Item4558 Pull down for commonly used icons and strings Enhancement Confirmed 06 Sep 2007 - 15:21 03 Jan 2010 - 03:27
Item741 Allow users to build search queries using the Tinymce editor Enhancement New 11 Jan 2009 - 20:09 03 Jan 2010 - 03:30
Item2574 TinyMCEQuickHelp? is English only Low New 04 Jan 2010 - 09:23 04 Jan 2010 - 10:26
Item2285 Fullscreen mode might be confusing Enhancement New 24 Oct 2009 - 07:40 15 Jan 2010 - 22:58
Item1419 Inserting formatted links is not working correctly Enhancement Confirmed 04 Apr 2009 - 12:25 16 Jan 2010 - 00:42
Item8382 WYSIWYG_PROTECTED and _STICKY show up as tiny in Safari Low New 08 Jan 2010 - 00:02 22 Jan 2010 - 19:51
Item5045 Improve handling of network errors Normal Confirmed 29 Nov 2007 - 12:34 24 Jun 2010 - 11:56
Item9200 Attach/image dialogue improvements Enhancement Confirmed 25 Jun 2010 - 03:49 25 Jun 2010 - 03:49
Item1549 TML-to-HTML conversion entered into Editor's undo-history Low Confirmed 01 May 2009 - 17:18 25 Jun 2010 - 06:50
Item8455 span elements in list items confuses TinyMCE list button action Normal Confirmed 02 Feb 2010 - 02:03 25 Jun 2010 - 13:02
Item5103 TMCE replaces non-breaking space with normal space Normal Confirmed 09 Dec 2007 - 22:24 01 Jul 2010 - 00:23
Item9220 autosave drafts should be removed on save/save+continue Enhancement Confirmed 28 Jun 2010 - 23:53 01 Jul 2010 - 05:44
Item9408 Wysiwyg Edit latency improvement Normal Confirmed 29 Jul 2010 - 20:13 19 Aug 2010 - 16:10
Item8582 TinyMCEPlugin editor copies current topic onto the Primary Selection Normal Confirmed 21 Feb 2010 - 00:45 30 Aug 2010 - 00:11
Item9726 How to disable Wysiwyg from an EditTemplate? . Normal New 21 Sep 2010 - 04:56 21 Sep 2010 - 05:28
Item9180 Extra <p> on lists Normal New 21 Jun 2010 - 09:41 24 Oct 2010 - 19:54
Item5434 Usability: Add spell checking to TinyMCEPlugin Enhancement New 13 Mar 2008 - 05:30 01 Nov 2010 - 14:08
Item10065 Add preview for WYSIWYG Enhancement New 22 Nov 2010 - 12:53 22 Nov 2010 - 12:53
Item10089 WysiwygPlugin should allow editors to work on [[links]] as <a> tags Enhancement Being Worked On 27 Nov 2010 - 06:41 10 Feb 2011 - 11:21
Item9409 legacyoutput breaks WYSIWYG paragraph outdenting Normal Confirmed 29 Jul 2010 - 20:17 13 Mar 2011 - 23:54
Item9320 Enable WYSIWYG editor to apply roman numeral, alphabetical etc. ordered lists Enhancement Confirmed 14 Jul 2010 - 05:39 14 Mar 2011 - 00:05
Item2123 tinymce fullscrene mode appears without save&cancel Enhancement Confirmed 21 Sep 2009 - 04:21 16 Mar 2011 - 15:18
Item10517 Editing with WYSIWYG opens the page to the bottom, hiding the edit window. Normal Confirmed 21 Mar 2011 - 13:28 21 Mar 2011 - 13:28
Item9662 Table borders look odd when you first insert a table using TinyMCE Normal Waiting for Feedback 13 Sep 2010 - 04:13 31 Mar 2011 - 17:36
Item9198 Tables at top of document: unable to position cursor above Low Confirmed 25 Jun 2010 - 01:26 03 Apr 2011 - 22:42
Item10312 Empty Table Cells Uneditable Normal New 01 Feb 2011 - 23:24 04 Apr 2011 - 23:17
Item4737 Form fields not kept when going back after save failure (Firefox) Normal Waiting for Feedback 27 Sep 2007 - 12:17 28 Jun 2011 - 06:43
Item11031 Enable the TinyMCE? editor for data form textareas Enhancement New 10 Aug 2011 - 10:25 10 Aug 2011 - 15:19
Item10930 When editing using the 'wiki text' editor no WYSIWYG button is shown Enhancement Confirmed 29 Jun 2011 - 13:37 26 Aug 2011 - 08:44
Item10107 WYSIWYG editor replacing HTML entities incorrectly Normal Confirmed 02 Dec 2010 - 01:07 21 Sep 2011 - 15:47
Item8712 outdenting bullet point lists in edit mode which have previously been saved does not correctly with Firefox Enhancement Confirmed 15 Mar 2010 - 09:56 24 Sep 2011 - 12:27
Item8981 Broken copy - paste of list items Normal Confirmed 06 May 2010 - 01:46 24 Sep 2011 - 13:40
Item10695 Losing table colours at save Enhancement New 02 May 2011 - 10:25 26 Sep 2011 - 08:22
Item10015 Wysiwyg always takes focus when editing a page, even if the text part is at the very bottom. Urgent Confirmed 12 Nov 2010 - 12:49 02 Nov 2011 - 08:43
Item9214 Attach should support Drag and Drop Enhancement New 27 Jun 2010 - 20:50 21 Nov 2011 - 13:12
Item10724 Update to TinyMCE 3.4.7 Enhancement Being Worked On 09 May 2011 - 03:41 22 Nov 2011 - 05:49
Item11337 Delete bug in the WYSIWYG mangles headings Normal Confirmed 07 Dec 2011 - 11:11 08 Dec 2011 - 04:11
Item9501 Deleting a table in WYSIWYG editor Normal Confirmed 19 Aug 2010 - 12:52 13 Dec 2011 - 15:16
Item11367 Add post-transform callbacks to get notified after editor changes Enhancement Being Worked On 18 Dec 2011 - 18:52 18 Dec 2011 - 20:13
Item11368 Create WYSIWYG button in template; leave creation in js as fallback Enhancement Being Worked On 18 Dec 2011 - 20:41 18 Dec 2011 - 20:44
Item11369 Change error like "loading" text to throbber Normal Being Worked On 18 Dec 2011 - 20:44 18 Dec 2011 - 20:55
Item2515 Add support for underline and line-through text decorations Enhancement New 21 Dec 2009 - 04:46 21 Dec 2011 - 00:32
Item11469 Can't change the background colour of table cells Low New 24 Jan 2012 - 11:00 24 Jan 2012 - 11:46
Item11378 Strike-out <del>, <s> tags are lost in WYSIWYG transition Urgent Confirmed 21 Dec 2011 - 01:10 27 Jan 2012 - 01:12
Item11486 TinyMCE? IE7 bugs: 1. can't set font color 2. blockquote disappearing on save Normal New 31 Jan 2012 - 03:40 31 Jan 2012 - 03:40
Item11493 Trouble with table function in TinyMCE? Normal Confirmed 01 Feb 2012 - 14:08 03 Feb 2012 - 07:34
Item11440 Inside <pre> formatted text, <b>, <strong> tags are lost in WYSIWYG transition Urgent Confirmed 14 Jan 2012 - 10:23 12 Feb 2012 - 14:18

Discussion

Error: no such plugin chili

Updating with a new moxiecode release (svn)

  • In TinyMCEPlugin root directory in svn, use svn status to confirm there are no extraneous files or local changes
    • Delete extraneous .js, .css and .gz files that aren't named _src with
      svn status | perl -ne 'chomp; unlink $_ if s/^\s*\?\s*(.*)(?!_src)(.*)(\.gz|\.js|\.css)$/$1$2$3/;'
  • Unzip the tinymce_3_x_x_dev.zip file you downloaded from sourceforge in TinyMCEPlugin/pub/System/TinyMCEPlugin (should extract to a directory tinymce )
  • Patch legacyoutput with Foswikirev:9857 as per Tasks.Item9952
  • Patch fullscreen with Foswikirev:13157 as per Tasks.Item10288
  • As per Tasks.Item8531, remove compressed files:
    for i in $(find -name "*_src*" -not -regex '.*svn.*'); do compressed=${i/_src/}; svn del --force $compressed; svn del --force $compressed.gz ; done
  • svn status should now show a list of modified files and any new directories or files that moxiecode has included (less the compressed versions).
    • svn add * --force to add them
  • Re-build the MANIFEST

Updating with a new moxiecode release (git)

  • In TinyMCEPlugin root directory in git, use git clean -fd to clean the directory and all sub-directories of extraneous files
  • Unzip the tinymce_3_x_x_dev.zip file you downloaded from sourceforge in TinyMCEPlugin/pub/System/TinyMCEPlugin (should extract to a directory tinymce )
  • Patch legacyoutput with Foswikirev:9857 as per Tasks.Item9952
  • Patch fullscreen with Foswikirev:13157 as per Tasks.Item10288
  • Remove compressed files:
    for i in $(find -name "*_src*" ); do compressed=${i/_src/}; rm -f $compressed; rm -f $compressed.gz ; done
  • git status . in the TinyMCEPlugin root directory in git should now show a list of modified files and any new directories or files that moxiecode has included (less the compressed versions).
    • git add . to add them
  • Re-build the MANIFEST

Re-build MANIFEST

Working from a fresh MANIFEST generated with something like ./build.pl manifest > MANIFEST from TinyMCEPlugin/lib/Foswiki/Plugins/TinyMCEPlugin/

What follows is a series of vim commands to get a freshly auto-generated MANIFEST into shape for release. We don't ship developer files because it makes the download quite large, and currently BuildContrib? doesn't offer a way to generate the missing minified and .gz targets into the MANIFEST.

Don't ship boring files to end users:

%s/\(.*\/build.*\)/#\1
%s/\(.*\/tools\/.*\)/#\1
%s/\(.*\/classes\/.*\)/#\1
%s/\(.*\/docs\/.*\)/#\1
%s/\(.*\/tests\/.*\)/#\1
%s/^\(.*\.psd\s\d*$\)/#\1

Do .gz of non- _src files:

%s/^\([^#]\)\(.*_src.*\)\@!\(.*\)\.\(js\|css\)\(.*\)$/\1\2\3.\4\5\r\1\2\3.\4.gz\5

Do minified and .gz entries for _src files:

%s/^\([^#]\)\(.*\)\(_src\)\.\(js\|css\)\(.*\)$/\1\2\3.\4\5\r\1\2.\4\5\r\1\2.\4.gz\5

Review

  • Place a !noci after all data/ files and probably after .../TinyMCEPlugin.pm
  • Ensure an entry for TinyMCEPlugin.txt is present
  • Delete extraneous comments generated by ./build.pl manifest at beginning/end of file
  • Use svn diff to see how the MANIFEST has changed and make sure the changes are what you expected.

Building

  • If you're doing a release upload, try to ensure your BuildContrib? is using YUI compressor which yields 5-10% smaller files (see Tasks.Item8531 for the original comparison). One way of knowing that you're getting YUI compressed files is that the output will have obfuscated variable/method/object names, whereas CPAN's minfiers only strip whitespace and comments.
-- PaulHarvey - 13 Apr 2010
Topic attachments
I Attachment Action Size Date Who Comment
wordcount.diffdiff wordcount.diff manage 0.7 K 20 Apr 2010 - 05:04 PaulHarvey patch to wordcount fixing build failure
Topic revision: r12 - 21 Nov 2011 - 03:43:05 - GeorgeClark
 
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