Readonly source

Offer selectable Markdown without editing controls.

Code

<label class="editor-label" for="note">Published note</label>
<tint-editor id="note" rows="4" toolbar="none" readonly value="# Published note

The original Markdown is still available."></tint-editor>

The code assumes the setup from the guide. Try the editor live in the interactive demos.