Ticket #10068 (confirmed Feature Request)

Opened 6 years ago

Last modified 3 years ago

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

new-library.png Download (10.8 KB) - added by frisi 3 years ago.
new library linking to plonesiteroot

Change History

comment:1 Changed 6 years ago by elvix

The imagerepository add-on product also depends on defining libraries.

comment:2 Changed 6 years ago by hannosch

  • Milestone changed from 4.0 to Future

comment:3 Changed 5 years ago by WouterVH

Ticket #11309 was tagged as a duplicate of thins one.

comment:4 Changed 4 years ago by frisi

  • Cc frisi added
  • Version set to 4.1
  • severity set to Untriaged

comment:5 Changed 4 years ago by eleddy

  • severity changed from Untriaged to Normal

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.

Changed 3 years ago by frisi

new library linking to plonesiteroot

comment:8 Changed 3 years ago by frisi

how about this solution?

new library linking to plonesiteroot

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

Note: See TracTickets for help on using tickets.