Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

getHtml returns markdown #43

Open
soongsta opened this issue Jan 1, 2020 · 1 comment
Open

getHtml returns markdown #43

soongsta opened this issue Jan 1, 2020 · 1 comment

Comments

@soongsta
Copy link

soongsta commented Jan 1, 2020

Version

@toast-ui/vue-editor 1.1.1

Test Environment

Chrome, vuejs 2.6.11

Current Behavior

I am using vuejs , and npm i @toast-ui/vue-editor
Will try and setup a codepen or jsfiddle, but not familiar how to do this.

When i format a single word with bold, it works fine.
getHtml returns eg <strong>Bolded</strong>

When i format a second word with bold, and look at html (using getHtml), the 2nd bolded word is in markdown eg
**Bolded**
This applies for Italics and Strike Through as well

Expected Behavior

All words formatted should be return HTML when using getHtml function

@arthaud-proust
Copy link

Same problem, i tested different get method and i found this:
replace invoke('getHtml') by invoke('getMarkdown').
That return text formated in html, i don't know why

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants