| ceff19cf | 23-Apr-2026 |
Andreas Gohr <andi@splitbrain.org> |
fix: don't move the editor textarea into the toolbar
addBtnActionSignature() returns the edid (wiki__text) as its "pickerid" so the signature button gets aria-controls set correctly. Since 7e35897a
fix: don't move the editor textarea into the toolbar
addBtnActionSignature() returns the edid (wiki__text) as its "pickerid" so the signature button gets aria-controls set correctly. Since 7e35897a that return value is also used to re-parent the element into the toolbar, which pulled the textarea out of the edit form. Form submissions then carried no wikitext, breaking preview and silently deleting the page on save. Any plugin toolbar button registered after the signature button (e.g. vshare) also ended up below the textarea instead of in the toolbar.
Skip the append when the returned id matches the editor id.
closes #4623
show more ...
|
| cba08886 | 19-Apr-2026 |
Andreas Gohr <andi@splitbrain.org> |
fix: avoid picker close/reopen race on toggle button click
When focus was inside the picker and the toolbar toggle button was clicked, focusout would close the picker before the click handler toggle
fix: avoid picker close/reopen race on toggle button click
When focus was inside the picker and the toolbar toggle button was clicked, focusout would close the picker before the click handler toggled it, causing an immediate reopen. Skip the focusout-triggered close when focus moves to a picker toggle button.
show more ...
|
| d3d20a66 | 15-Oct-2024 |
Andreas Gohr <andi@splitbrain.org> |
LinkWizard: add method to create a relative link
This is not used, yet. Usage will be added in a future commit.
Since we don't have a proper testing framework in place, yet. Tests have been added a
LinkWizard: add method to create a relative link
This is not used, yet. Usage will be added in a future commit.
Since we don't have a proper testing framework in place, yet. Tests have been added as a standalone script that can be run manually.
show more ...
|