fix(richtext-lexical): Blocks: z-index issue, e.g. select field dropdown in blocks hidden behind blocks below, or slash menu inside nested editor hidden behind blocks below
This commit is contained in:
@@ -113,6 +113,7 @@ export const SubBlockBlock: Block = {
|
||||
},
|
||||
],
|
||||
},
|
||||
SelectFieldBlock,
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -300,7 +300,7 @@ describe('lexical', () => {
|
||||
const textNode1: SerializedTextNode = paragraphNodeInBlockNodeRichText.children[0]
|
||||
const boldNode: SerializedTextNode = paragraphNodeInBlockNodeRichText.children[1]
|
||||
|
||||
expect(textNode1.text).toBe('Some text below ')
|
||||
expect(textNode1.text).toBe('Some text below r')
|
||||
expect(textNode1.format).toBe(0)
|
||||
|
||||
expect(boldNode.text).toBe('elationship node 1')
|
||||
|
||||
Reference in New Issue
Block a user