We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The image edit modal is too complex. How can I disable this button to prevent user being here?
The text was updated successfully, but these errors were encountered:
add: #231 event-showController,
7407097
core-currentControllerTarget
Hi @zhaoyao91
Added showController event. You can use as below after version update.
showController
const editor = subeditor.create(..); editor.showController = function (name, controllers, core) { // target element console.log('target', core.currentControllerTarget); let c = null; for (let i in controllers) { c = controllers[i]; if (core.util.hasClass(c, 'se-controller-resizing')) { const updateButton = c.querySelector('[data-command="update"]'); if (name === 'image') updateButton.setAttribute('disabled', true); else updateButton.removeAttribute('disabled'); } } }
I'll notify you know when the version is updated.
Sorry, something went wrong.
The 2.27.0 version has been updated. If there is an issue, please register as a new issue. Thank you.
No branches or pull requests
The image edit modal is too complex. How can I disable this button to prevent user being here?
The text was updated successfully, but these errors were encountered: