Follow-up from "Wire-up EditDrawer with FrontMatterControls"
The following discussion from !41920 (merged) should be addressed:
-
@markrian started a discussion: (+1 comment) suggestion (non-blocking): Should the editor catch YAML parsing exceptions while the user edits the document in markdown view?
When testing this locally, I tried going into the markdown view and editing the front-matter manually. While doing so, the console reported lots errors, like:
[Vue warn]: Error in v-on handler: "YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 5, column 1: ^" found in ---> <RichContentEditor> at vue_shared/components/rich_content_editor/rich_content_editor.vue <EditArea> at static_site_editor/components/edit_area.vue <Home> at static_site_editor/pages/home.vue <App> at static_site_editor/components/app.vue <Root>
I see that that's not related to this MR, so WDYT of opening a follow-up issue?
Duplicate/related: #255920 (closed)
Edited by Derek Knox