Skip to content

Commit 860c8ef

Browse files
feat(endpoint-posts): remove editor height attributes
1 parent 3af3cfa commit 860c8ef

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/endpoint-posts/includes/post-types/content-field.njk

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
attributes: {
99
editor: true,
1010
"editor-id": (properties.uid or ("new-" + postType)) + "-content",
11-
"editor-height": "50vh" if field.required else "6rem",
1211
"editor-locale": application.locale,
1312
"editor-image-upload": "false" if postType == "note" or postType == "photo",
1413
"editor-status": "false" if not field.required

packages/endpoint-posts/includes/post-types/summary-field.njk

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
attributes: {
99
editor: true,
1010
"editor-id": (properties.uid or ("new-" + postType)) + "-summary",
11-
"editor-height": "60vh" if field.required else "2rem",
1211
"editor-locale": application.locale,
1312
"editor-status": "false",
1413
"editor-toolbar": "false"

0 commit comments

Comments
 (0)