@ones-editor/editor 1.1.18-beta.10 → 1.1.18-beta.11
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/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +2 -2
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -77067,7 +77067,7 @@ ${data.flowchartText}
|
|
|
77067
77067
|
}
|
|
77068
77068
|
}
|
|
77069
77069
|
});
|
|
77070
|
-
editor.version = "1.1.18-beta.
|
|
77070
|
+
editor.version = "1.1.18-beta.11";
|
|
77071
77071
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
77072
77072
|
window.setReauthFail = (fail) => {
|
|
77073
77073
|
window.isReauthError = fail;
|
|
@@ -77155,7 +77155,7 @@ ${data.flowchartText}
|
|
|
77155
77155
|
});
|
|
77156
77156
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
77157
77157
|
OnesEditorToolbar.register(editor);
|
|
77158
|
-
editor.version = "1.1.18-beta.
|
|
77158
|
+
editor.version = "1.1.18-beta.11";
|
|
77159
77159
|
return editor;
|
|
77160
77160
|
}
|
|
77161
77161
|
async function showDocVersions(editor, options, serverUrl) {
|
package/dist/types.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { FindDialogOptions, PopoverOptions } from '../@ones-editor/ui-base';
|
|
|
14
14
|
import { CodeBlockExternalOptions } from '../@ones-editor/code-block';
|
|
15
15
|
import { MentionOptions } from '../@ones-editor/mention';
|
|
16
16
|
import { MathjaxOptions } from '../@ones-editor/mathjax';
|
|
17
|
+
import { LinkOptions } from '../@ones-editor/ui/src/link-popup';
|
|
17
18
|
export interface RemoteCaretsOptions {
|
|
18
19
|
onUserChanged?: (editor: OnesEditor, users: OnesEditorUser[]) => void;
|
|
19
20
|
}
|
|
@@ -38,6 +39,7 @@ export type EditorComponentOptions = {
|
|
|
38
39
|
file?: FileOptions;
|
|
39
40
|
code?: CodeBlockExternalOptions;
|
|
40
41
|
mathjax?: MathjaxOptions;
|
|
42
|
+
link?: LinkOptions;
|
|
41
43
|
};
|
|
42
44
|
export type EditorEvents = {
|
|
43
45
|
onClickLink?: (editor: OnesEditor, event: MouseEvent, link: Element) => void;
|