Open OnkelTem opened 1 year ago
I don't understand how to create this viewer thing and there is nothing helpful in the documentation on this.
This is from the docs:
const viewer = new toastui.Editor({ el: document.querySelector('#viewer'), initialValue: content });
but it doesn't create any Viewer, it just creates the same Editor UI with editable content.
I also found viewer: boolean property among the options, but setting it doesn't make any difference.
viewer: boolean
So how is it assumed to properly render the content?
I don't understand how to create this viewer thing and there is nothing helpful in the documentation on this.
This is from the docs:
but it doesn't create any Viewer, it just creates the same Editor UI with editable content.
I also found
viewer: boolean
property among the options, but setting it doesn't make any difference.So how is it assumed to properly render the content?