Changes by Marius Dumitru Florea on 09/Nov/26 22:39
Fix Version:
18.10.0-rc-1
Resolution:
Fixed
Tests:
Integration
Status:
OpenClosed
1 comment
Marius Dumitru Florea on 09/Nov/26 22:38
The link modal of the BlockNote editor is now a real modal dialog, so it no longer scrolls the page to the bottom when it opens. Summary of the changes:
Modal dialog: the link modal is shown with a backdrop, on top of the edited content, instead of being rendered inline after the editor. Clicking the backdrop doesn't close it, so that what was typed is not lost by accident; it can still be closed with the Escape key, the close button or the Cancel button. The design system dialog got a new persistent option for this.
Focus: the "Display text" field is focused when the modal opens, including when the modal is opened from the slash menu.
Validation: the form is validated on submit and the modal stays open while a required field is empty. The required fields ("Display text" and "Link type") are marked as required, following the XWiki vertical forms convention.
Buttons and title: the submit button is labelled "Insert" or "Update" (instead of "OK") and is placed on the right, as the primary action. The title is "Insert link" or "Edit link" depending on the case.
Layout: the link options are grouped in a collapsible "Options" box. The page and attachment search fields show a "Type to search..." placeholder.
Suggestions: the page and attachment suggestions are styled like a Bootstrap dropdown menu (e.g. the Edit menu). The list leaves room for 5 suggestions and scrolls for the rest, also when moving through them with the arrow keys.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.