PKP Bugzilla – Bug 4244
Request for further TinyMCE features in limited cases
Last modified: 2009-05-08 17:03:09 PDT
A couple of TinyMCE enhancement requests. These are especially pertinent to larger input fields, where users may be entering a number of pages worth of text, but don't want to write in Word and then paste over: - It would be great to be able to resize any TinyMCE text boxes on the fly by clicking and dragging a corner (possible in Wordpress, and on the Moxiecode website's demonstration). - Also great to include the full-screen option. - Finally, also great to include the full range of copy& paste items. Any thoughts on these, Matt? I don't think these options would be necessary for every single TinyMCE instance -- rather, they would be best for the longer entry forms (review forms; guideline fields; etc.). However, I'm not sure whether you can limit options on a per-field basis or not. (courtesy of http://pkp.sfu.ca/support/forum/viewtopic.php?f=2&t=4456&p=17383#p17383)
There isn't really a way to specify TinyMCE plugins to load only on certain pages, but I think adding the full-screen button (and the copy-paste buttons) to each instance is a good idea. I'll test out the resize plugin too, but I have a feeling it won't play very well with our CSS.
(In reply to comment #1) > There isn't really a way to specify TinyMCE plugins to load only on certain > pages, but I think adding the full-screen button (and the copy-paste buttons) > to each instance is a good idea. I'll test out the resize plugin too, but I > have a feeling it won't play very well with our CSS. Thanks, Matt, sounds great. A working full-screen button would somewhat obviate the resize plugin, although I do find it a useful one on my blag.
Created attachment 1727 [details] Patch against OJS pre-2.3 CVS As I suspected, the editor resize function does not behave well--for instance, if you resize it bigger than the main div (so it extends into the sidebar), it obscures the resize handle so you can't resize it again. But, the fullscreen mode works fine, and I've also added some extra copy/paste buttons and dividers to separate functionality. James, if looks alright I'll backport and commit.
Created attachment 1728 [details] Screenshot of updated TinyMCE editor
Matt, I applied the patch, and the result looks great. Fullscreen works, as does the rest.
Committed to harvester, ocs and ojs devel lines.