@tiptap/extension-typography
Advanced tools
Comparing version
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.0.0-beta.13](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-typography@2.0.0-beta.12...@tiptap/extension-typography@2.0.0-beta.13) (2021-07-26) | ||
**Note:** Version bump only for package @tiptap/extension-typography | ||
# [2.0.0-beta.12](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-typography@2.0.0-beta.11...@tiptap/extension-typography@2.0.0-beta.12) (2021-05-18) | ||
@@ -8,0 +16,0 @@ |
@@ -13,2 +13,6 @@ import { Extension } from '@tiptap/core'; | ||
export declare const multiplication: InputRule<any>; | ||
export declare const superscriptTwo: InputRule<any>; | ||
export declare const superscriptThree: InputRule<any>; | ||
export declare const oneQuarter: InputRule<any>; | ||
export declare const threeQuarters: InputRule<any>; | ||
export declare const Typography: Extension<unknown>; |
@@ -18,2 +18,6 @@ 'use strict'; | ||
const multiplication = new prosemirrorInputrules.InputRule(/\d+\s?([*x])\s?\d+$/, '×'); | ||
const superscriptTwo = new prosemirrorInputrules.InputRule(/\^2$/, '²'); | ||
const superscriptThree = new prosemirrorInputrules.InputRule(/\^3$/, '³'); | ||
const oneQuarter = new prosemirrorInputrules.InputRule(/1\/4$/, '¼'); | ||
const threeQuarters = new prosemirrorInputrules.InputRule(/3\/4$/, '¾'); | ||
const Typography = core.Extension.create({ | ||
@@ -39,2 +43,6 @@ name: 'typography', | ||
multiplication, | ||
superscriptTwo, | ||
superscriptThree, | ||
oneQuarter, | ||
threeQuarters, | ||
]; | ||
@@ -52,2 +60,3 @@ }, | ||
exports.oneHalf = oneHalf; | ||
exports.oneQuarter = oneQuarter; | ||
exports.plusMinus = plusMinus; | ||
@@ -57,2 +66,5 @@ exports.raquo = raquo; | ||
exports.rightArrow = rightArrow; | ||
exports.superscriptThree = superscriptThree; | ||
exports.superscriptTwo = superscriptTwo; | ||
exports.threeQuarters = threeQuarters; | ||
//# sourceMappingURL=tiptap-extension-typography.cjs.js.map |
@@ -14,2 +14,6 @@ import { Extension } from '@tiptap/core'; | ||
const multiplication = new InputRule(/\d+\s?([*x])\s?\d+$/, '×'); | ||
const superscriptTwo = new InputRule(/\^2$/, '²'); | ||
const superscriptThree = new InputRule(/\^3$/, '³'); | ||
const oneQuarter = new InputRule(/1\/4$/, '¼'); | ||
const threeQuarters = new InputRule(/3\/4$/, '¾'); | ||
const Typography = Extension.create({ | ||
@@ -35,2 +39,6 @@ name: 'typography', | ||
multiplication, | ||
superscriptTwo, | ||
superscriptThree, | ||
oneQuarter, | ||
threeQuarters, | ||
]; | ||
@@ -41,3 +49,3 @@ }, | ||
export default Typography; | ||
export { Typography, copyright, laquo, leftArrow, multiplication, notEqual, oneHalf, plusMinus, raquo, registeredTrademark, rightArrow }; | ||
export { Typography, copyright, laquo, leftArrow, multiplication, notEqual, oneHalf, oneQuarter, plusMinus, raquo, registeredTrademark, rightArrow, superscriptThree, superscriptTwo, threeQuarters }; | ||
//# sourceMappingURL=tiptap-extension-typography.esm.js.map |
@@ -17,2 +17,6 @@ (function (global, factory) { | ||
const multiplication = new prosemirrorInputrules.InputRule(/\d+\s?([*x])\s?\d+$/, '×'); | ||
const superscriptTwo = new prosemirrorInputrules.InputRule(/\^2$/, '²'); | ||
const superscriptThree = new prosemirrorInputrules.InputRule(/\^3$/, '³'); | ||
const oneQuarter = new prosemirrorInputrules.InputRule(/1\/4$/, '¼'); | ||
const threeQuarters = new prosemirrorInputrules.InputRule(/3\/4$/, '¾'); | ||
const Typography = core.Extension.create({ | ||
@@ -38,2 +42,6 @@ name: 'typography', | ||
multiplication, | ||
superscriptTwo, | ||
superscriptThree, | ||
oneQuarter, | ||
threeQuarters, | ||
]; | ||
@@ -51,2 +59,3 @@ }, | ||
exports.oneHalf = oneHalf; | ||
exports.oneQuarter = oneQuarter; | ||
exports.plusMinus = plusMinus; | ||
@@ -56,2 +65,5 @@ exports.raquo = raquo; | ||
exports.rightArrow = rightArrow; | ||
exports.superscriptThree = superscriptThree; | ||
exports.superscriptTwo = superscriptTwo; | ||
exports.threeQuarters = threeQuarters; | ||
@@ -58,0 +70,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
{ | ||
"name": "@tiptap/extension-typography", | ||
"description": "typography extension for tiptap", | ||
"version": "2.0.0-beta.12", | ||
"version": "2.0.0-beta.13", | ||
"homepage": "https://tiptap.dev", | ||
@@ -29,3 +29,8 @@ "keywords": [ | ||
}, | ||
"gitHead": "6b154e4c8161fbba987e162ebebc155243432f24" | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ueberdosis/tiptap", | ||
"directory": "packages/extension-typography" | ||
}, | ||
"gitHead": "345ea8cf8abba6422dabc6e548594fb8e2c30409" | ||
} |
@@ -22,2 +22,6 @@ import { Extension } from '@tiptap/core' | ||
export const multiplication = new InputRule(/\d+\s?([*x])\s?\d+$/, '×') | ||
export const superscriptTwo = new InputRule(/\^2$/, '²') | ||
export const superscriptThree = new InputRule(/\^3$/, '³') | ||
export const oneQuarter = new InputRule(/1\/4$/, '¼') | ||
export const threeQuarters = new InputRule(/3\/4$/, '¾') | ||
@@ -45,4 +49,8 @@ export const Typography = Extension.create({ | ||
multiplication, | ||
superscriptTwo, | ||
superscriptThree, | ||
oneQuarter, | ||
threeQuarters, | ||
] | ||
}, | ||
}) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
28260
17.53%247
21.67%0
-100%