<main>
  <section>
    <h1>Noneditable Plugin: Styling noneditable blocks</h1>
    <p>This is an example of styling the <a href="https://www.tiny.cloud/docs/plugins/noneditable/" target="_blank">noneditable</a>
      content blocks in TinyMCE 5 to give your authors visual cues as to what is not editable.</p>
    <textarea>
            <p>Thank you for your change request.</p>
            <p>We are happy to inform you that your request has been fully approved.</p>
            <p class="is-locked">Please note that this change may take up to 24 hours to appear on your account.</p>
            <p>If you have any further queries, please contact your customer care representative.</p>
        </textarea>
  </section>
</main>
body {
  margin: 2rem 1.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;
}

section {
  margin-bottom: 3rem;
}

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

a {
  color: rgb(25, 118, 210);
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: rgb(145, 180, 225);
}
tinymce.init({
  selector: "textarea",
  plugins: "noneditable code",
  toolbar: "code",
  menubar: false,

  content_css: "https://assets.codepen.io/413052/templates-noneditable-styling-content.css",

  min_height: 380,

  noneditable_noneditable_class: "is-locked"
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/5/tinymce.min.js