#117 — Editor not loaded in portlet with wysiwyg widget

by Gianluca Di Carlo last modified Mar 08, 2010 11:20 AM
State Resolved
Version: 1.1rc5
Area User interface
Issue type Bug
Severity Medium
Submitted by Gianluca Di Carlo
Submitted on Oct 06, 2009
Responsible Rob Gietema
Target release:
In Static Text Portlet the editor doesn't loaded. You see only textarea
Steps to reproduce:
Install TinyMCE Editor
Set TinyMCE as user editor
Add or modify a Static Text Portlet
Attached:
JPEG image icon tinymce.jpeg — JPEG image, 28 kB (28819 bytes)
Added by Gianluca Di Carlo on Oct 06, 2009 06:20 PM
The problem occurs only when you edit a portlet, when you add a portlet the editor is loaded.
Added by Patrick Hunlock on Oct 21, 2009 03:14 PM
I encountered this issue as well. It looks like Plone's caching system is caching something which should be dynamic. A workaround was to go to the ZMI->portal_javascript, scroll down and disable merging and caching of tiny_mce.js and tiny_mce_init.js.
Added by Matt Halstead on Oct 22, 2009 02:20 AM
It seems to me that the tinymce editor frame loads all its css and js relative to the current context and not relative to the portal_url - which means:

1) you request new copies of these for each edit of a different content item

2) it breaks in portlets where we end up non traversable urls like:

http://localhost:8082/[…]/editor_plugin.js
Added by Sylvain Boureliou on Dec 10, 2009 11:24 AM
Fixed in the trunk.
Attached:
svn-diff.txt — text/plain, 1 Kb
Added by Harald Friessnegger on Mar 08, 2010 11:19 AM
works fine in the plone4.0a5 buildout. could you please mark this issue as resolved?
Added by Rob Gietema on Mar 08, 2010 11:20 AM
Issue state: UnconfirmedResolved
Responsible manager: (UNASSIGNED)robgietema

No responses can be added.