chore: lint
Some checks are pending
build / lint (20) (push) Waiting to run
build / test (20, map[name:Demos/Examples spec:./demos/src/Examples/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Experiments spec:./demos/src/Experiments/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Extensions spec:./demos/src/Extensions/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/GuideContent spec:./demos/src/GuideContent/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/GuideGettingStarted spec:./demos/src/GuideGettingStarted/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Marks spec:./demos/src/Marks/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Nodes spec:./demos/src/Nodes/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Integration spec:./tests/cypress/integration/**/*.spec.{js,ts}]) (push) Waiting to run
build / build (20) (push) Blocked by required conditions
Publish / Release (20) (push) Waiting to run

This commit is contained in:
Nick the Sick 2024-11-25 16:37:44 +01:00
parent f79c05edd4
commit ea2fa82c4f
No known key found for this signature in database
GPG Key ID: F575992F156E5BCC

View File

@ -42,12 +42,12 @@ declare module '@tiptap/core' {
* This ensures that any text between backticks is formatted as code, * This ensures that any text between backticks is formatted as code,
* regardless of the surrounding characters (exception being another backtick). * regardless of the surrounding characters (exception being another backtick).
*/ */
export const inputRegex = /(?<!`)`([^`]+)`(?!`)/; export const inputRegex = /(?<!`)`([^`]+)`(?!`)/
/** /**
* Matches inline code while pasting. * Matches inline code while pasting.
*/ */
export const pasteRegex = /(?<!`)`([^`]+)`(?!`)/g; export const pasteRegex = /(?<!`)`([^`]+)`(?!`)/g
/** /**
* This extension allows you to mark text as inline code. * This extension allows you to mark text as inline code.