fable-editor 1.2.2 → 1.2.3
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/dist/angular/LICENSE +20 -18
- package/dist/angular/core/editor.d.ts +4 -0
- package/dist/angular/esm2022/core/editor.mjs +56 -2
- package/dist/angular/fesm2022/fable-editor.mjs +55 -1
- package/dist/angular/fesm2022/fable-editor.mjs.map +1 -1
- package/dist/core/editor.css +34 -0
- package/dist/core/editor.d.ts +4 -0
- package/dist/core/editor.d.ts.map +1 -1
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.mjs +80 -46
- package/dist/react/index.cjs +11 -11
- package/dist/react/index.mjs +600 -566
- package/package.json +1 -1
- package/style.css +34 -0
package/dist/angular/LICENSE
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
# Fable Editor License
|
|
2
3
|
|
|
3
4
|
Copyright (c) 2026 Sajin Satheesan
|
|
4
5
|
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and its associated documentation files (the "Software"), to use the Software in personal, educational, and commercial projects.
|
|
7
|
+
|
|
8
|
+
You may:
|
|
9
|
+
|
|
10
|
+
* Use the Software in your own applications and websites.
|
|
11
|
+
* Modify the Software for your own internal use.
|
|
12
|
+
* Include the Software as part of a project or product you develop.
|
|
13
|
+
|
|
14
|
+
You may NOT:
|
|
15
|
+
|
|
16
|
+
* Sell, sublicense, rent, lease, or redistribute the Software, in whole or in part, as a standalone product.
|
|
17
|
+
* Publish modified or unmodified versions of the Software for others to download or use.
|
|
18
|
+
* Repackage or rebrand the Software under another name.
|
|
19
|
+
* Remove or modify this copyright notice.
|
|
20
|
+
|
|
21
|
+
This license does not grant ownership of the Software. All intellectual property rights remain with the copyright holder.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -95,6 +95,8 @@ export declare class FableEditor implements FableEditorApi {
|
|
|
95
95
|
private restoreSel;
|
|
96
96
|
private exec;
|
|
97
97
|
private closestBlock;
|
|
98
|
+
/** Enter on an empty last line inside a blockquote exits it into a plain paragraph, mirroring how lists exit on an empty item. */
|
|
99
|
+
private tryExitBlockquote;
|
|
98
100
|
private selectedBlocks;
|
|
99
101
|
private onChange;
|
|
100
102
|
private recordRevision;
|
|
@@ -330,6 +332,8 @@ export declare class FableEditor implements FableEditorApi {
|
|
|
330
332
|
private positionImageHandles;
|
|
331
333
|
private startImageResizeDrag;
|
|
332
334
|
private toggleBlock;
|
|
335
|
+
/** Some browsers leave the <blockquote> wrapper in place after formatBlock('<p>'); strip it manually if so. */
|
|
336
|
+
private unwrapBlockquote;
|
|
333
337
|
private clearSelToolbar;
|
|
334
338
|
private updateSelToolbar;
|
|
335
339
|
private buildSelToolbar;
|