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 = () => {
3333 return true ;
3434 }
3535 // 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+ ) {
3743 const tr = view . state . tr ;
3844 view . dispatch (
3945 tr
Original file line number Diff line number Diff line change 11export * from "./ar" ;
2+ export * from "./de" ;
23export * from "./en" ;
4+ export * from "./es" ;
35export * from "./fr" ;
46export * from "./is" ;
57export * from "./ja" ;
68export * from "./ko" ;
79export * from "./nl" ;
810export * from "./pl" ;
911export * from "./pt" ;
12+ export * from "./ru" ;
1013export * from "./vi" ;
1114export * 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";
22export * from "./api/exporters/html/externalHTMLExporter" ;
33export * from "./api/exporters/html/internalHTMLSerializer" ;
44export * from "./api/testUtil" ;
5+ export * from "./api/getCurrentBlockContentType" ;
6+ export * from "./blocks/defaultBlockHelpers" ;
57export * from "./blocks/AudioBlockContent/AudioBlockContent" ;
68export * from "./blocks/FileBlockContent/FileBlockContent" ;
79export * from "./blocks/ImageBlockContent/ImageBlockContent" ;
810export * from "./blocks/VideoBlockContent/VideoBlockContent" ;
9-
1011export * from "./blocks/FileBlockContent/fileBlockHelpers" ;
1112export * from "./blocks/FileBlockContent/uploadToTmpFilesDotOrg_DEV_ONLY" ;
1213export { parseImageElement } from "./blocks/ImageBlockContent/imageBlockHelpers" ;
You can’t perform that action at this time.
0 commit comments