Skip to content

Commit

Permalink
fix(endpoint-posts): add media endpoint to markdown editors
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Apr 19, 2024
1 parent f4f72f2 commit 84db24f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
field: {
attributes: {
editor: true,
"editor-endpoint": application.mediaEndpoint,
"editor-id": (properties.uid or ("new-" + postType)) + "-content",
"editor-locale": application.locale,
"editor-image-upload": "false" if postType == "note" or postType == "photo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
field: {
attributes: {
editor: true,
"editor-endpoint": application.mediaEndpoint,
"editor-id": (properties.uid or ("new-" + postType)) + "-summary",
"editor-locale": application.locale,
"editor-status": "false",
Expand Down

0 comments on commit 84db24f

Please sign in to comment.