Open gautamgiri-dev opened 1 year ago
const bm = editor.Blocks is unused and editor.Blocks is directly being called inside the addBlock function. We can remove the line.
const bm = editor.Blocks
addBlock
or alternatively we can use bm at the place of editror.Blocks.add call by changing it to bm.add.
bm
editror.Blocks.add
bm.add
const bm = editor.Blocks
is unused and editor.Blocks is directly being called inside theaddBlock
function. We can remove the line.