Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modal docs TinyMCE example fails without workaround (registry issue) #762

Open
seanupton opened this issue May 2, 2017 · 0 comments
Open

Comments

@seanupton
Copy link
Member

dev/#pattern/modal example with TinyMCE fails, because registry does not contain the pattern for TinyMCE. The workaround is to click the TinyMCE example first, then modal.

Intially, when loading just the modal pattern examples:

>>> require("pat-registry").patterns
Object {backdrop: function, plone-modal: function}

After loading the TInyMCE example:

>>> require("pat-registry").patterns
Object {backdrop: function, plone-modal: function, autotoc: function, tooltip: function, select2: function…}

And after clicking the latter example, then back to the modal, the docs "Modal with TinyMCE" example actually works.

Via/ref: https://community.plone.org/t/mockup-docs-what-loads-patterns-into-registry/4103

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

No branches or pull requests

1 participant