| 1234567891011121314151617181920212223 |
- <textarea id="snippet-highlight">
- <h2>Getting started with CKEditor 5</h2>
- <p>First, create an HTML element with the initial content:</p>
- <pre><code class="language-html"><div id="editor">
- <p>Here goes the initial content of the editor.</p>
- </div></code></pre>
- <p>Then use the following code to run the editor:</p>
- <pre><code class="language-javascript">ClassicEditor
- .create( document.querySelector( '#editor' ) )
- .catch( error => {
- console.error( error );
- } );</code></pre>
- <p>Finally, let your artistic self shine:</p>
- <pre><code> ________________
- / \
- | How about moo? | ^__^
- \________________/ (oo)\_______
- \ (__)\ )\/\
- ||----w |
- || ||</code></pre>
- </textarea>
|