mirror of https://github.com/fantasticit/think.git
fix: status selection style
parent
f89c1051db
commit
e5d0cf1fdd
|
@ -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={
|
||||
|
|
Loading…
Reference in New Issue