erl-mathtextx-editor 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +268 -253
- package/dist/{CellPropertiesDialogImpl-HPT77uxM.js → CellPropertiesDialogImpl-DBgs-7H9.js} +1 -1
- package/dist/{ContentViewer-CWZ30KYR.js → ContentViewer-CsFSAN_B.js} +15 -15
- package/dist/ImageInsertDialog-B24KHrgt.js +238 -0
- package/dist/{InsertTableDialogImpl-DZrLgDKN.js → InsertTableDialogImpl-B6_PRu5m.js} +1 -1
- package/dist/{LinkDialogImpl-DTHugWZM.js → LinkDialogImpl-BTA8u_qQ.js} +60 -45
- package/dist/TablePropertiesDialogImpl-CuRRWS4H.js +56 -0
- package/dist/{TableTemplatesDialogImpl-D0sFSAKl.js → TableTemplatesDialogImpl-CU8seEdV.js} +1 -1
- package/dist/assets/erl-mathtextx-editor.css +1 -1
- package/dist/assets/viewer.css +1 -1
- package/dist/components/TablePropertiesDialog.d.ts +4 -0
- package/dist/components/TablePropertiesDialogImpl.d.ts +11 -0
- package/dist/core/extensions.d.ts +6 -0
- package/dist/erl-mathtextx-editor.js +14 -13
- package/dist/erl-mathtextx-editor.umd.cjs +163 -153
- package/dist/extensions/CustomIndent.d.ts +10 -0
- package/dist/extensions/IndentBackspace.d.ts +2 -0
- package/dist/extensions/SlashGraph.d.ts +2 -0
- package/dist/extensions/TableAlignPlugin.d.ts +7 -0
- package/dist/{index-CLGg8QXp.js → index-CB1g0gXh.js} +177 -199
- package/dist/index-UCSefQk0.js +53830 -0
- package/dist/index.d.ts +2 -0
- package/dist/math/MathFieldView.d.ts +5 -0
- package/dist/{tiptap-Bc1mIOtx.js → tiptap-K3rU-Wjn.js} +4325 -3155
- package/dist/utils/logger.d.ts +40 -0
- package/dist/viewer.js +1 -1
- package/package.json +3 -17
- package/dist/ImageInsertDialog-DzLFhSDK.js +0 -217
- package/dist/index-Ci20X1Rj.js +0 -5281
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom Indent Extension — Overrides keyboard shortcuts from base package.
|
|
3
|
+
*
|
|
4
|
+
* The base @weiruo/tiptap-extension-indent package always indents on Tab,
|
|
5
|
+
* regardless of cursor position. This extension removes those keyboard
|
|
6
|
+
* shortcuts so that Tab behavior is controlled by the IndentBackspace
|
|
7
|
+
* extension instead (which inserts 4 spaces when cursor is in the middle
|
|
8
|
+
* of a paragraph, and indents the paragraph when cursor is at the start).
|
|
9
|
+
*/
|
|
10
|
+
export declare const CustomIndent: import('@tiptap/core').Extension<import('@weiruo/tiptap-extension-indent').IndentOptions, any>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
/**
|
|
3
|
+
* Plugin that applies table alignment styles to the table wrapper element
|
|
4
|
+
* in the editor. This is needed because ProseMirror's table plugin renders
|
|
5
|
+
* the table directly without using renderHTML.
|
|
6
|
+
*/
|
|
7
|
+
export declare const TableAlignPlugin: Extension<any, any>;
|