Ticket #10068 (confirmed Feature Request)
TinyMCE doesn't support libraries as kupu does
Reported by: | WouterVH | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | Visual Editor | Version: | 4.1 |
Keywords: | Cc: | WouterVH, frisi |
Description
In Kupu you can configure libraries for easily browsing dedicated img-directories. (Libraries in kupu_library_tool)
The configuration of TinyMCE doesn't allow to configure any libraries.
-- Our use-case: in our university-website, we make heavy use of INavigationRoot-subsites, have one global img-directory, and and accompanying img-directory per subsite:
- /en/ (INagivationRoot set)
- /nl/ (INagivationRoot set)
- /img/ global shared img, (INagivationRoot set)
- subsiteX/en/ (INagivationRoot set)
- subsiteX/nl/ (INagivationRoot set)
- subsiteX/img/ subsite1-specific img, (INagivationRoot set)
Currently all the img-directories are set as kupu-libraries. TinyMCE currently provides no alternative.
There is no way of escaping the INavigationRoot-folder.
Attachments
Change History
comment:6 Changed 4 years ago by kleist
- Status changed from new to confirmed
We have "libraries" in TinyMCI now (4.2) haven't we?
comment:7 Changed 4 years ago by frisi
i'm not sure libraries are the solution for the problem described in #11309
the link and image dialogs in tinymce should simply show the breadcrumbs starting at the plonesite root rather than starting form the inavigationroot. this would allow editors to link/choose content from outside of their current subsite.
comment:8 Changed 3 years ago by frisi
how about this solution?
i did a quick change on the 1.2.x branch that adds a new library "portal home" to the link dialog (image dialog needs to be done the same way) that is only shown in case the navigation_root_url != portal_url
this allows users locked in subsites to navigate out of the subsites.
see https://github.com/webmeisterei/Products.TinyMCE/commit/535cee0956fc579edf8e35794b90ef6e1dcbe06f for the changeset
The imagerepository add-on product also depends on defining libraries.