Merge branch 'feature/text-style-mark' of https://github.com/ueberdosis/tiptap-next into feature/text-style-mark

# Conflicts:
#	docs/src/demos/Marks/TextStyle/index.vue
This commit is contained in:
Philipp Kühn
2020-11-06 16:24:20 +01:00
41 changed files with 448 additions and 355 deletions

View File

@@ -18,6 +18,7 @@ export const plusMinus = new InputRule(/\+\/-$/, '±')
export const notEqual = new InputRule(/!=$/, '≠')
export const laquo = new InputRule(/<<$/, '«')
export const raquo = new InputRule(/>>$/, '»')
export const multiplication = new InputRule(/\d+\s?([*x])\s?\d+$/, '×')
const Typography = createExtension({
addInputRules() {
@@ -37,6 +38,7 @@ const Typography = createExtension({
notEqual,
laquo,
raquo,
multiplication,
]
},
})