Skip to content

Commit

Permalink
Make tooltips unselectable (#16113)
Browse files Browse the repository at this point in the history
Internal (ui): UI tooltip content should not be selectable. Closes #16110.
  • Loading branch information
Mati365 authored Apr 11, 2024
1 parent 9c483ca commit 6404116
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/ckeditor5-ui/theme/components/tooltip/tooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

@import "../../mixins/_unselectable.css";

.ck.ck-balloon-panel.ck-tooltip {
@mixin ck-unselectable;

z-index: calc( var(--ck-z-dialog) + 100 );
}

0 comments on commit 6404116

Please sign in to comment.