-
Notifications
You must be signed in to change notification settings - Fork 323
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
Selection formatting toolbar #10027
Selection formatting toolbar #10027
Conversation
icons incoming here #10030 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation of the floating menu container should probably be based on floating-ui/vue
. We already use that for dropdowns and it should simplify the component logic significantly.
@@ -411,7 +411,6 @@ declare module '@/providers/widgetRegistry' { | |||
|
|||
.arrow { | |||
position: absolute; | |||
pointer-events: none; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This style was intentional, to avoid the arrow blinking when hovered in some cases. Whether or not it is visible should not affect the active drop-down area. What is the intention behind this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a duplicate.
* Selection formatting toolbar * Icons * Review * Fix bold+italic rendering * Preparing for top bar * Refactor
Pull Request Description
In the documentation panel, add a toolbar for setting formatting properties of the selected text; it floats next to the selection, and initially supports bold/italic/strikethrough.
Cf. #9969
Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.