<main>
  <label class="editor-label">Description</label>
  <div class="editor-wrap" id="editor-description-wrap">
    <div class="editor-toolbar" id="editor-description-toolbar"></div>
    <div class="editor-content" id="editor-description-content">
      <p>Hello world!</p>
      <p>Here is some content for our description editor.</p>
    </div>
  </div>
</main>
body {
  margin: 2rem 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

main {
  max-width: 720px;
  margin: auto;
}

/* Below are the content styles, in this case they are global */
/* and not namespaced to `.editor-content` */
a,
a:link {
  color: blue;
}
a:visited {
  color: purple;
}
a:hover {
  color: green;
}
a:active {
  color: red;
}

h1 {
  font-size: 1.75rem;
  font-weight: strong;
}

h2 {
  font-size: 1.5rem;
  font-weight: strong;
}

h3 {
  font-size: 1rem;
  font-weight: strong;
}

hr {
  margin: 1.5rem 0;
  padding: 0.5rem 0;
  border: 0;
}

hr::after {
  content: "";
  display: block;
  border-width: 0 0 1px 0;
  border-color: #ccc;
  border-style: solid;
}

img {
  max-width: 100%;
  height: auto;
}
    tinymce.init({
       selector: "#editor-description-content",
       plugins: "advcode advtable autocorrect autolink checklist codesample editimage emoticons image link linkchecker lists media mediaembed powerpaste table tinymcespellchecker",
       menubar: false,
       inline: true,
       toolbar_persist: true,
       toolbar: "blocks | bold italic forecolor backcolor | numlist bullist checklist | link image emoticons | table codesample hr blockquote | code ",
       placeholder: "Add a description",
    });

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/6-testing/tinymce.min.js
  2. https://cdn.jsdelivr.net/npm/prismjs@1.29.0/prism.min.js
  3. https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-markup.min.js
  4. https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-markup-templating.min.js
  5. https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-javascript.min.js
  6. https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-css.min.js
  7. https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-less.min.js
  8. https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-php.min.js
  9. https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-sql.min.js