Skip to content

TinyMCE: Restore ability to choose which content are folderish types#4212

Open
frapell wants to merge 1 commit into
masterfrom
frapell-4207-master
Open

TinyMCE: Restore ability to choose which content are folderish types#4212
frapell wants to merge 1 commit into
masterfrom
frapell-4207-master

Conversation

@frapell

@frapell frapell commented Aug 7, 2025

Copy link
Copy Markdown
Member

refs gh-4207

@mister-roboto

Copy link
Copy Markdown

@frapell thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@frapell

frapell commented Aug 7, 2025

Copy link
Copy Markdown
Member Author

@jenkins-plone-org please run jobs


configuration = {
"base_url": self.context.absolute_url(),
"imageTypes": image_types,

@petschki petschki Sep 3, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of directly setting the contentbrowser options, we should add folder_types in the base configuration with "folderTypes": folder_types ... tinymce pattern later decides if "folderTypes" should become "browseableTypes" in the imageModal ...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@petschki

petschki commented Sep 4, 2025

Copy link
Copy Markdown
Member

Note: there is a pat-contentbrowser PR in mockup which makes this configuration obsolete in favor of auto-detecting folderish objects. See plone/mockup#1499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants