mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
editor: fix => turning into a callout
This commit is contained in:
@@ -75,7 +75,7 @@ export type CalloutAttributes = {
|
||||
type: CalloutType;
|
||||
};
|
||||
|
||||
const CALLOUT_REGEX = />(.+?)(?:\n| (.+)\n$)/g;
|
||||
const CALLOUT_REGEX = /^>(.+?)(?:\n| (.+)\n$)/g;
|
||||
export const Callout = Node.create({
|
||||
name: "callout",
|
||||
content: "heading block*",
|
||||
|
||||
Reference in New Issue
Block a user