mirror of
https://github.com/fantasticit/think.git
synced 2026-10-30 22:56:06 +08:00
fix: status selection style
This commit is contained in:
@@ -21,8 +21,8 @@ export const Status = Node.create({
|
||||
name: 'status',
|
||||
group: 'inline',
|
||||
inline: true,
|
||||
atom: true,
|
||||
selectable: true,
|
||||
atom: true,
|
||||
|
||||
addAttributes() {
|
||||
return {
|
||||
|
||||
@@ -29,7 +29,8 @@
|
||||
.node-mind,
|
||||
.node-codeBlock,
|
||||
.node-documentChildren,
|
||||
.node-documentReference {
|
||||
.node-documentReference,
|
||||
.node-status {
|
||||
&.selected-node {
|
||||
&:not(.has-focus) {
|
||||
::selection {
|
||||
|
||||
@@ -92,6 +92,7 @@ export const StatusWrapper = ({ editor, node, updateAttributes }) => {
|
||||
{isEditable ? (
|
||||
<Popover
|
||||
showArrow
|
||||
position="bottomLeft"
|
||||
visible={visible}
|
||||
onVisibleChange={onVisibleChange}
|
||||
content={
|
||||
|
||||
Reference in New Issue
Block a user