@manuscripts/body-editor 2.0.38 → 2.0.40
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/cjs/configs/editor-views.js +0 -2
- package/dist/cjs/plugins/section-category/section-category-utils.js +4 -2
- package/dist/cjs/versions.js +1 -1
- package/dist/cjs/views/author_notes.js +65 -2
- package/dist/es/configs/editor-views.js +0 -2
- package/dist/es/plugins/section-category/section-category-utils.js +4 -2
- package/dist/es/versions.js +1 -1
- package/dist/es/views/author_notes.js +62 -2
- package/dist/types/configs/editor-views.d.ts +0 -1
- package/dist/types/versions.d.ts +1 -1
- package/dist/types/views/author_notes.d.ts +13 -3
- package/package.json +3 -3
- package/styles/AdvancedEditor.css +9 -4
- package/dist/cjs/views/corresp.js +0 -32
- package/dist/es/views/corresp.js +0 -25
- package/dist/types/views/corresp.d.ts +0 -25
|
@@ -24,7 +24,6 @@ const bibliography_element_editable_1 = __importDefault(require("../views/biblio
|
|
|
24
24
|
const blockquote_element_editable_1 = __importDefault(require("../views/blockquote_element_editable"));
|
|
25
25
|
const citation_editable_1 = __importDefault(require("../views/citation_editable"));
|
|
26
26
|
const contributors_1 = __importDefault(require("../views/contributors"));
|
|
27
|
-
const corresp_1 = __importDefault(require("../views/corresp"));
|
|
28
27
|
const cross_reference_editable_1 = __importDefault(require("../views/cross_reference_editable"));
|
|
29
28
|
const empty_1 = __importDefault(require("../views/empty"));
|
|
30
29
|
const equation_editable_1 = __importDefault(require("../views/equation_editable"));
|
|
@@ -89,6 +88,5 @@ exports.default = (props, dispatch) => {
|
|
|
89
88
|
comments: (0, empty_1.default)('comments'),
|
|
90
89
|
supplements: (0, empty_1.default)('supplements'),
|
|
91
90
|
author_notes: (0, author_notes_1.default)(props, dispatch),
|
|
92
|
-
corresp: (0, corresp_1.default)(props),
|
|
93
91
|
};
|
|
94
92
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildPluginState = exports.sectionCategoryKey = void 0;
|
|
4
|
+
const style_guide_1 = require("@manuscripts/style-guide");
|
|
4
5
|
const transform_1 = require("@manuscripts/transform");
|
|
5
6
|
const prosemirror_state_1 = require("prosemirror-state");
|
|
6
7
|
const prosemirror_view_1 = require("prosemirror-view");
|
|
7
|
-
const
|
|
8
|
+
const react_1 = require("react");
|
|
9
|
+
const server_1 = require("react-dom/server");
|
|
8
10
|
const popper_1 = require("../../lib/popper");
|
|
9
11
|
const section_categories_1 = require("../../lib/section-categories");
|
|
10
12
|
const utils_1 = require("../../lib/utils");
|
|
@@ -43,7 +45,7 @@ function createButton(view, props, node, pos, category, canEdit = true) {
|
|
|
43
45
|
const arrow = document.createElement('div');
|
|
44
46
|
arrow.className = 'section-category popper-arrow';
|
|
45
47
|
const button = document.createElement('button');
|
|
46
|
-
button.innerHTML =
|
|
48
|
+
button.innerHTML = (0, server_1.renderToStaticMarkup)((0, react_1.createElement)(style_guide_1.SectionCategoryIcon));
|
|
47
49
|
button.className = `section-category-button ${category && 'assigned'}`;
|
|
48
50
|
if (canEdit) {
|
|
49
51
|
button.addEventListener('mousedown', () => {
|
package/dist/cjs/versions.js
CHANGED
|
@@ -14,15 +14,78 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
17
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
21
|
exports.AuthorNotesView = void 0;
|
|
19
|
-
const
|
|
22
|
+
const block_view_1 = __importDefault(require("./block_view"));
|
|
20
23
|
const creators_1 = require("./creators");
|
|
21
|
-
class AuthorNotesView extends
|
|
24
|
+
class AuthorNotesView extends block_view_1.default {
|
|
22
25
|
constructor() {
|
|
23
26
|
super(...arguments);
|
|
27
|
+
this.allowedTypes = ['corresp', 'footnote', 'paragraph'];
|
|
28
|
+
this.correspondenceHeader = 'Correspondence';
|
|
29
|
+
this.genericHeader = 'Author notes';
|
|
24
30
|
this.ignoreMutation = () => true;
|
|
25
31
|
this.stopEvent = () => true;
|
|
32
|
+
this.createElement = () => {
|
|
33
|
+
this.container = document.createElement('div');
|
|
34
|
+
this.container.classList.add('block', 'author-notes-container');
|
|
35
|
+
this.dom.appendChild(this.container);
|
|
36
|
+
};
|
|
37
|
+
this.updateContents = () => {
|
|
38
|
+
this.genericHeaderIsDisplayed = false;
|
|
39
|
+
this.dom.setAttribute('contenteditable', 'false');
|
|
40
|
+
this.container.innerHTML = '';
|
|
41
|
+
const items = {};
|
|
42
|
+
this.allowedTypes.forEach((type) => (items[type] = []));
|
|
43
|
+
this.node.descendants((node) => {
|
|
44
|
+
if (this.allowedTypes.includes(node.type.name)) {
|
|
45
|
+
items[node.type.name].push(node);
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
this.allowedTypes.forEach((typeName) => {
|
|
50
|
+
if (items[typeName] && items[typeName].length) {
|
|
51
|
+
const content = this.createContent(typeName, items[typeName]);
|
|
52
|
+
if (content) {
|
|
53
|
+
this.container.appendChild(content);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
this.createHeader = (typeName, text) => {
|
|
59
|
+
const header = document.createElement('h1');
|
|
60
|
+
header.classList.add(`${typeName}-title`, 'block');
|
|
61
|
+
header.textContent = text;
|
|
62
|
+
return header;
|
|
63
|
+
};
|
|
64
|
+
this.createContent = (typeName, nodes) => {
|
|
65
|
+
let isNotEmpty = false;
|
|
66
|
+
if (nodes.length) {
|
|
67
|
+
const container = document.createElement('div');
|
|
68
|
+
container.classList.add(`${typeName}s-container`);
|
|
69
|
+
if (typeName === this.allowedTypes[0]) {
|
|
70
|
+
container.append(this.createHeader(typeName, this.correspondenceHeader));
|
|
71
|
+
}
|
|
72
|
+
else if (!this.genericHeaderIsDisplayed) {
|
|
73
|
+
this.genericHeaderIsDisplayed = true;
|
|
74
|
+
container.append(this.createHeader(typeName, this.genericHeader));
|
|
75
|
+
}
|
|
76
|
+
nodes.forEach((node) => {
|
|
77
|
+
if (node.textContent) {
|
|
78
|
+
isNotEmpty = true;
|
|
79
|
+
const div = document.createElement('div');
|
|
80
|
+
div.classList.add(typeName);
|
|
81
|
+
div.textContent = node.textContent;
|
|
82
|
+
container.append(div);
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
return isNotEmpty ? container : null;
|
|
86
|
+
}
|
|
87
|
+
return null;
|
|
88
|
+
};
|
|
26
89
|
}
|
|
27
90
|
}
|
|
28
91
|
exports.AuthorNotesView = AuthorNotesView;
|
|
@@ -19,7 +19,6 @@ import bibliographyElement from '../views/bibliography_element_editable';
|
|
|
19
19
|
import blockquoteElement from '../views/blockquote_element_editable';
|
|
20
20
|
import citation from '../views/citation_editable';
|
|
21
21
|
import contributors from '../views/contributors';
|
|
22
|
-
import corresp from '../views/corresp';
|
|
23
22
|
import crossReference from '../views/cross_reference_editable';
|
|
24
23
|
import empty from '../views/empty';
|
|
25
24
|
import equation from '../views/equation_editable';
|
|
@@ -84,6 +83,5 @@ export default (props, dispatch) => {
|
|
|
84
83
|
comments: empty('comments'),
|
|
85
84
|
supplements: empty('supplements'),
|
|
86
85
|
author_notes: authorNotes(props, dispatch),
|
|
87
|
-
corresp: corresp(props),
|
|
88
86
|
};
|
|
89
87
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { SectionCategoryIcon } from '@manuscripts/style-guide';
|
|
1
2
|
import { isSectionNode, schema } from '@manuscripts/transform';
|
|
2
3
|
import { PluginKey } from 'prosemirror-state';
|
|
3
4
|
import { Decoration, DecorationSet } from 'prosemirror-view';
|
|
4
|
-
import {
|
|
5
|
+
import { createElement } from 'react';
|
|
6
|
+
import { renderToStaticMarkup } from 'react-dom/server';
|
|
5
7
|
import { PopperManager } from '../../lib/popper';
|
|
6
8
|
import { getCategoryName, isBackMatterSection, isEditableSectionCategoryID, isUnique, } from '../../lib/section-categories';
|
|
7
9
|
import { isChildOfNodeTypes } from '../../lib/utils';
|
|
@@ -40,7 +42,7 @@ function createButton(view, props, node, pos, category, canEdit = true) {
|
|
|
40
42
|
const arrow = document.createElement('div');
|
|
41
43
|
arrow.className = 'section-category popper-arrow';
|
|
42
44
|
const button = document.createElement('button');
|
|
43
|
-
button.innerHTML =
|
|
45
|
+
button.innerHTML = renderToStaticMarkup(createElement(SectionCategoryIcon));
|
|
44
46
|
button.className = `section-category-button ${category && 'assigned'}`;
|
|
45
47
|
if (canEdit) {
|
|
46
48
|
button.addEventListener('mousedown', () => {
|
package/dist/es/versions.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.0.
|
|
1
|
+
export const VERSION = '2.0.40';
|
|
2
2
|
export const MATHJAX_VERSION = '3.2.2';
|
|
@@ -13,13 +13,73 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import
|
|
16
|
+
import BlockView from './block_view';
|
|
17
17
|
import { createNodeView } from './creators';
|
|
18
|
-
export class AuthorNotesView extends
|
|
18
|
+
export class AuthorNotesView extends BlockView {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments);
|
|
21
|
+
this.allowedTypes = ['corresp', 'footnote', 'paragraph'];
|
|
22
|
+
this.correspondenceHeader = 'Correspondence';
|
|
23
|
+
this.genericHeader = 'Author notes';
|
|
21
24
|
this.ignoreMutation = () => true;
|
|
22
25
|
this.stopEvent = () => true;
|
|
26
|
+
this.createElement = () => {
|
|
27
|
+
this.container = document.createElement('div');
|
|
28
|
+
this.container.classList.add('block', 'author-notes-container');
|
|
29
|
+
this.dom.appendChild(this.container);
|
|
30
|
+
};
|
|
31
|
+
this.updateContents = () => {
|
|
32
|
+
this.genericHeaderIsDisplayed = false;
|
|
33
|
+
this.dom.setAttribute('contenteditable', 'false');
|
|
34
|
+
this.container.innerHTML = '';
|
|
35
|
+
const items = {};
|
|
36
|
+
this.allowedTypes.forEach((type) => (items[type] = []));
|
|
37
|
+
this.node.descendants((node) => {
|
|
38
|
+
if (this.allowedTypes.includes(node.type.name)) {
|
|
39
|
+
items[node.type.name].push(node);
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
this.allowedTypes.forEach((typeName) => {
|
|
44
|
+
if (items[typeName] && items[typeName].length) {
|
|
45
|
+
const content = this.createContent(typeName, items[typeName]);
|
|
46
|
+
if (content) {
|
|
47
|
+
this.container.appendChild(content);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
this.createHeader = (typeName, text) => {
|
|
53
|
+
const header = document.createElement('h1');
|
|
54
|
+
header.classList.add(`${typeName}-title`, 'block');
|
|
55
|
+
header.textContent = text;
|
|
56
|
+
return header;
|
|
57
|
+
};
|
|
58
|
+
this.createContent = (typeName, nodes) => {
|
|
59
|
+
let isNotEmpty = false;
|
|
60
|
+
if (nodes.length) {
|
|
61
|
+
const container = document.createElement('div');
|
|
62
|
+
container.classList.add(`${typeName}s-container`);
|
|
63
|
+
if (typeName === this.allowedTypes[0]) {
|
|
64
|
+
container.append(this.createHeader(typeName, this.correspondenceHeader));
|
|
65
|
+
}
|
|
66
|
+
else if (!this.genericHeaderIsDisplayed) {
|
|
67
|
+
this.genericHeaderIsDisplayed = true;
|
|
68
|
+
container.append(this.createHeader(typeName, this.genericHeader));
|
|
69
|
+
}
|
|
70
|
+
nodes.forEach((node) => {
|
|
71
|
+
if (node.textContent) {
|
|
72
|
+
isNotEmpty = true;
|
|
73
|
+
const div = document.createElement('div');
|
|
74
|
+
div.classList.add(typeName);
|
|
75
|
+
div.textContent = node.textContent;
|
|
76
|
+
container.append(div);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
return isNotEmpty ? container : null;
|
|
80
|
+
}
|
|
81
|
+
return null;
|
|
82
|
+
};
|
|
23
83
|
}
|
|
24
84
|
}
|
|
25
85
|
export default createNodeView(AuthorNotesView);
|
|
@@ -468,6 +468,5 @@ declare const _default: (props: EditorProps, dispatch: Dispatch) => {
|
|
|
468
468
|
dom: HTMLDivElement;
|
|
469
469
|
};
|
|
470
470
|
author_notes: import("../types").NodeViewCreator<import("../views/author_notes").AuthorNotesView>;
|
|
471
|
-
corresp: import("../types").NodeViewCreator<import("../views/corresp").CorrespView>;
|
|
472
471
|
};
|
|
473
472
|
export default _default;
|
package/dist/types/versions.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.0.
|
|
1
|
+
export declare const VERSION = "2.0.40";
|
|
2
2
|
export declare const MATHJAX_VERSION = "3.2.2";
|
|
@@ -13,11 +13,21 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
17
|
-
|
|
16
|
+
import { ManuscriptNode } from '@manuscripts/transform';
|
|
17
|
+
import BlockView from './block_view';
|
|
18
|
+
import { EditableBlockProps } from './editable_block';
|
|
19
|
+
export declare class AuthorNotesView extends BlockView<EditableBlockProps> {
|
|
18
20
|
container: HTMLElement;
|
|
21
|
+
allowedTypes: string[];
|
|
22
|
+
correspondenceHeader: string;
|
|
23
|
+
genericHeader: string;
|
|
24
|
+
genericHeaderIsDisplayed: boolean;
|
|
19
25
|
ignoreMutation: () => boolean;
|
|
20
26
|
stopEvent: () => boolean;
|
|
27
|
+
createElement: () => void;
|
|
28
|
+
updateContents: () => void;
|
|
29
|
+
createHeader: (typeName: string, text: string) => HTMLHeadingElement;
|
|
30
|
+
createContent: (typeName: string, nodes: ManuscriptNode[]) => HTMLDivElement | null;
|
|
21
31
|
}
|
|
22
|
-
declare const _default: (props: BaseNodeProps, dispatch?: import("..").Dispatch | undefined) => import("../types").NodeViewCreator<AuthorNotesView>;
|
|
32
|
+
declare const _default: (props: import("./base_node_view").BaseNodeProps, dispatch?: import("..").Dispatch | undefined) => import("../types").NodeViewCreator<AuthorNotesView>;
|
|
23
33
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manuscripts/body-editor",
|
|
3
3
|
"description": "Prosemirror components for editing and viewing manuscripts",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.40",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-body-editor",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"@iarna/word-count": "^1.1.2",
|
|
33
33
|
"@manuscripts/json-schema": "2.2.11",
|
|
34
34
|
"@manuscripts/library": "1.3.11",
|
|
35
|
-
"@manuscripts/style-guide": "2.0.
|
|
35
|
+
"@manuscripts/style-guide": "2.0.16",
|
|
36
36
|
"@manuscripts/track-changes-plugin": "1.7.17",
|
|
37
|
-
"@manuscripts/transform": "2.3.
|
|
37
|
+
"@manuscripts/transform": "2.3.31",
|
|
38
38
|
"@popperjs/core": "^2.11.8",
|
|
39
39
|
"astrocite-eutils": "^0.16.4",
|
|
40
40
|
"codemirror": "^5.58.1",
|
|
@@ -281,10 +281,8 @@ span.comment-marker {
|
|
|
281
281
|
line-height: 16px !important;
|
|
282
282
|
margin-top: 4px !important;
|
|
283
283
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
.ProseMirror > .author-notes > .block-section_title > h1 {
|
|
284
|
+
|
|
285
|
+
.ProseMirror .author-notes-container h1 {
|
|
288
286
|
color: #353535 !important;
|
|
289
287
|
font-size: 16px !important;
|
|
290
288
|
font-weight: 700 !important;
|
|
@@ -292,6 +290,13 @@ span.comment-marker {
|
|
|
292
290
|
margin: 0 !important
|
|
293
291
|
}
|
|
294
292
|
|
|
293
|
+
.ProseMirror .author-notes-container > div {
|
|
294
|
+
margin-bottom: 16px;
|
|
295
|
+
}
|
|
296
|
+
.ProseMirror .author-notes-container > div:last-child {
|
|
297
|
+
margin-bottom: 0;
|
|
298
|
+
}
|
|
299
|
+
|
|
295
300
|
.keywords .keyword {
|
|
296
301
|
display: inline-block;
|
|
297
302
|
color: #353535;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* © 2023 Atypon Systems LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.CorrespView = void 0;
|
|
22
|
-
const block_view_1 = __importDefault(require("./block_view"));
|
|
23
|
-
const creators_1 = require("./creators");
|
|
24
|
-
class CorrespView extends block_view_1.default {
|
|
25
|
-
constructor() {
|
|
26
|
-
super(...arguments);
|
|
27
|
-
this.ignoreMutation = () => true;
|
|
28
|
-
this.stopEvent = () => true;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.CorrespView = CorrespView;
|
|
32
|
-
exports.default = (0, creators_1.createNodeView)(CorrespView);
|
package/dist/es/views/corresp.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* © 2023 Atypon Systems LLC
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import BlockView from './block_view';
|
|
17
|
-
import { createNodeView } from './creators';
|
|
18
|
-
export class CorrespView extends BlockView {
|
|
19
|
-
constructor() {
|
|
20
|
-
super(...arguments);
|
|
21
|
-
this.ignoreMutation = () => true;
|
|
22
|
-
this.stopEvent = () => true;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
export default createNodeView(CorrespView);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* © 2023 Atypon Systems LLC
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import BlockView from './block_view';
|
|
17
|
-
import { EditableBlockProps } from './editable_block';
|
|
18
|
-
export declare class CorrespView extends BlockView<EditableBlockProps> {
|
|
19
|
-
version: string;
|
|
20
|
-
container: HTMLElement;
|
|
21
|
-
ignoreMutation: () => boolean;
|
|
22
|
-
stopEvent: () => boolean;
|
|
23
|
-
}
|
|
24
|
-
declare const _default: (props: import("./base_node_view").BaseNodeProps, dispatch?: import("..").Dispatch | undefined) => import("../types").NodeViewCreator<CorrespView>;
|
|
25
|
-
export default _default;
|