-
Notifications
You must be signed in to change notification settings - Fork 460
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
Explicitly set editable fields should be excluded from implicit editing #347
Comments
Here's the whole symbol |
Yeah I've noticed that happening on Accordions but haven't filed a bug for it yet, will look into it |
I'm suffering this too. I discover In your case, check if this element I have a workaround, editing async function make_content_editable() {
if (!node) return
const valid_elements = Array.from(node.querySelectorAll('*')).filter((element) => {
if (['STYLE', 'TITLE'].includes(element.tagName)) return false
if (Object.keys(element.dataset).includes('noeditable')) return false;
.... Maybe @mateomorris can find a more elegant solution for this. |
I have an accordion module with a somewhat complex structure:
When clicking in the description it adds it to the title every time.
Edit: removed video, you can use the json provided to recreate.
The text was updated successfully, but these errors were encountered: