Lines Matching refs:button
2 * Attach editing button to media file diagrams in pages
20 // add edit button to editable diagrams
23 const button = document.createElement('button');
24 button.className = 'diagrams-btn';
25 button.innerText = LANG.plugins.diagrams.editButtonShort;
26 button.title = LANG.plugins.diagrams.editButton;
29 button.prepend(icon);
31 button.addEventListener('click', event => {
39 image.parentNode.querySelector('.diagrams-buttons').appendChild(button);