Declare lowlight as a peerDependency (#2625)
Declare lowlight as a peerDependency to delegate the control of which version of lowlight is used to the client application Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
This commit is contained in:
committed by
GitHub
parent
fd593bb93e
commit
39f5e4c31e
@@ -25,10 +25,10 @@ describe('code block highlight', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
Frontmatter = CodeBlockLowlight
|
||||
.configure({ lowlight })
|
||||
.extend({
|
||||
name: 'frontmatter',
|
||||
})
|
||||
.configure({ lowlight })
|
||||
|
||||
editor = new Editor({
|
||||
element: createEditorEl(),
|
||||
@@ -36,7 +36,7 @@ describe('code block highlight', () => {
|
||||
Document,
|
||||
Text,
|
||||
Paragraph,
|
||||
CodeBlockLowlight,
|
||||
CodeBlockLowlight.configure({ lowlight }),
|
||||
Frontmatter,
|
||||
],
|
||||
content: {
|
||||
|
||||
Reference in New Issue
Block a user