You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any documentation/guide on how to create a custom bundle of Mockup?
Use case: we have a few heavily customized TinyMCE configurations that are applied depending on the text field (main text gets full TinyMCE toolbar, but comments or author biographies get a slimmer TinyMCE toolbar), and thus, we need Mockup to do all the other stuff, but not for TinyMCE.
btw. the hot reloading of start:webpack and that the browser itself also reloads is great!! 🌟
Now, a few questions:
is that a good approach?
what would be steps to actually deploy these modifications to production?
i.e. run some npx yarn build:webpack, and copy&paste the dist/* files into a distribution that has a <plone:static folder and make a release of it? 🤔
Like on plone/documentation#1592 I'm willing to create a PR either here or in documentation to mention these steps, so anyone that tries to do the same finds the documentation for it ✨
The text was updated successfully, but these errors were encountered:
"Changes to JavaScript functionality must be done outside this package. If you want to fix something or add functionality please go to the mockup repository and follow the instructions there. This package is only to deliver the generated bundles"
Is there any documentation/guide on how to create a custom bundle of Mockup?
Use case: we have a few heavily customized TinyMCE configurations that are applied depending on the text field (main text gets full TinyMCE toolbar, but comments or author biographies get a slimmer TinyMCE toolbar), and thus, we need Mockup to do all the other stuff, but not for TinyMCE.
So, it's a counterpart of plone/documentation#1592 but for JS 😄
My approach so far (within the last 3 hours 😅 ):
npx yarn
npx yarn start:webpack
src/patterns.js
btw. the hot reloading of
start:webpack
and that the browser itself also reloads is great!! 🌟Now, a few questions:
npx yarn build:webpack
, and copy&paste thedist/*
files into a distribution that has a<plone:static
folder and make a release of it? 🤔Like on plone/documentation#1592 I'm willing to create a PR either here or in documentation to mention these steps, so anyone that tries to do the same finds the documentation for it ✨
The text was updated successfully, but these errors were encountered: