chore: Remove console.log left in code and added eslint rule to prevent it happening again
This commit is contained in:
@@ -31,8 +31,8 @@ export default abstract class Mark extends Extension {
|
||||
return [];
|
||||
}
|
||||
|
||||
toMarkdown(state: MarkdownSerializerState, node: ProsemirrorNode) {
|
||||
console.error("toMarkdown not implemented", state, node);
|
||||
toMarkdown(_state: MarkdownSerializerState, _node: ProsemirrorNode) {
|
||||
throw new Error("toMarkdown not implemented");
|
||||
}
|
||||
|
||||
parseMarkdown(): TokenConfig | void {
|
||||
|
||||
Reference in New Issue
Block a user