figcaption editor if not empty (#367)
This commit is contained in:
parent
d4ef39e6ca
commit
5d874ee639
|
@ -260,7 +260,7 @@ export const Editor = (props: Props) => {
|
||||||
!e.isActive('image') &&
|
!e.isActive('image') &&
|
||||||
!e.isActive('figure')) ||
|
!e.isActive('figure')) ||
|
||||||
e.isActive('footnote') ||
|
e.isActive('footnote') ||
|
||||||
e.isActive('figcaption')
|
(e.isActive('figcaption') && !empty)
|
||||||
setShouldShowTextBubbleMenu(result)
|
setShouldShowTextBubbleMenu(result)
|
||||||
return result
|
return result
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user