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',
|
name: 'status',
|
||||||
group: 'inline',
|
group: 'inline',
|
||||||
inline: true,
|
inline: true,
|
||||||
atom: true,
|
|
||||||
selectable: true,
|
selectable: true,
|
||||||
|
atom: true,
|
||||||
|
|
||||||
addAttributes() {
|
addAttributes() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -29,7 +29,8 @@
|
||||||
.node-mind,
|
.node-mind,
|
||||||
.node-codeBlock,
|
.node-codeBlock,
|
||||||
.node-documentChildren,
|
.node-documentChildren,
|
||||||
.node-documentReference {
|
.node-documentReference,
|
||||||
|
.node-status {
|
||||||
&.selected-node {
|
&.selected-node {
|
||||||
&:not(.has-focus) {
|
&:not(.has-focus) {
|
||||||
::selection {
|
::selection {
|
||||||
|
|
|
@ -92,6 +92,7 @@ export const StatusWrapper = ({ editor, node, updateAttributes }) => {
|
||||||
{isEditable ? (
|
{isEditable ? (
|
||||||
<Popover
|
<Popover
|
||||||
showArrow
|
showArrow
|
||||||
|
position="bottomLeft"
|
||||||
visible={visible}
|
visible={visible}
|
||||||
onVisibleChange={onVisibleChange}
|
onVisibleChange={onVisibleChange}
|
||||||
content={
|
content={
|
||||||
|
|
Loading…
Reference in New Issue