question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Destroys YAML front matter when editing with WYSIWYG

See original GitHub issue

When editing with WYSIWYG, turns the YAML front matter, e.g.

---
title: Title title title
---

into an invalid one:

- - -
## title: Title title title

This makes it difficult to use the editor in a combination with e.g. Hugo or other static website generator.

(cc @panitram)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanmcalistercommented, Sep 12, 2020

@dkershaw10 Thanks for the info. I plan to look into the tui.editor 2 update soon.

0reactions
ryanmcalistercommented, Oct 2, 2020

@Licantrop0 thanks for the heads up! Looks like the tui-editor initial support for YAML front matter is a bit limited.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Preventing front matter and custom syntax from rendering in ...
Do you know of an existing solution or custom HTML renderer that prevents frontmatter from rendering in WYSIWYG mode?
Read more >
Gitlab wiki hides front matter when editing page and removes ...
I understand that you want to remove it for rendering the wiki, but please show it in the editor, so it can be...
Read more >
README_en_US.md · Vanessa/vditor - Gitee.com
An In-browser Markdown editor, support WYSIWYG (Rich Text), ... YAML Front Matter; Chinese context optimization ... destroy(), Destroy the vditor.
Read more >
Markdown, Asciidoc, or reStructuredText – a tale of docs-as ...
Last year we changed the source format for MDN from some extremely messy, WYSIWYG-authored HTML to something that would be easier for ...
Read more >
WYSIWYG Editor Flaws and How to Handle Them
SEO mavens want clean semantic HTML markup. The go-to solution for these groups is typically a rich text editor similar to Microsoft Word,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found