File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
extensions/NonEditableBlocks Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,13 @@ export const NonEditableBlockPlugin = () => {
33
33
return true ;
34
34
}
35
35
// Checks if key press is Enter
36
- if ( event . key === "Enter" ) {
36
+ if (
37
+ event . key === "Enter" &&
38
+ ! event . shiftKey &&
39
+ ! event . altKey &&
40
+ ! event . ctrlKey &&
41
+ ! event . metaKey
42
+ ) {
37
43
const tr = view . state . tr ;
38
44
view . dispatch (
39
45
tr
Original file line number Diff line number Diff line change 1
1
export * from "./ar" ;
2
+ export * from "./de" ;
2
3
export * from "./en" ;
4
+ export * from "./es" ;
3
5
export * from "./fr" ;
4
6
export * from "./is" ;
5
7
export * from "./ja" ;
6
8
export * from "./ko" ;
7
9
export * from "./nl" ;
8
10
export * from "./pl" ;
9
11
export * from "./pt" ;
12
+ export * from "./ru" ;
10
13
export * from "./vi" ;
11
14
export * from "./zh" ;
12
- export * from "./ru" ;
13
- export * from "./de" ;
Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ import * as locales from "./i18n/locales";
2
2
export * from "./api/exporters/html/externalHTMLExporter" ;
3
3
export * from "./api/exporters/html/internalHTMLSerializer" ;
4
4
export * from "./api/testUtil" ;
5
+ export * from "./api/getCurrentBlockContentType" ;
6
+ export * from "./blocks/defaultBlockHelpers" ;
5
7
export * from "./blocks/AudioBlockContent/AudioBlockContent" ;
6
8
export * from "./blocks/FileBlockContent/FileBlockContent" ;
7
9
export * from "./blocks/ImageBlockContent/ImageBlockContent" ;
8
10
export * from "./blocks/VideoBlockContent/VideoBlockContent" ;
9
-
10
11
export * from "./blocks/FileBlockContent/fileBlockHelpers" ;
11
12
export * from "./blocks/FileBlockContent/uploadToTmpFilesDotOrg_DEV_ONLY" ;
12
13
export { parseImageElement } from "./blocks/ImageBlockContent/imageBlockHelpers" ;
You can’t perform that action at this time.
0 commit comments