<h1>Noneditable Plugin: Table Example</h1>
    <p>This is an example of the <a href="https://www.tiny.cloud/docs/plugins/noneditable/" target="_blank">noneditable</a>
      plugin in TinyMCE 5 to demonstrate making a table noneditable, but include elements that are editable.</p>
    <p>In this example, the header area cannot be changed, but users can add more rows to the body of the table, as well
      as edit the total dollar value.</p>
            <table class="mceNonEditable">
                    <th style="width:60%;">Item</th>
                    <th style="width:10%;">Quantity</th>
                    <th style="width:15%;">Cost</th>
                    <th style="width:15%;">Subtotal</th>
                <tbody class="mceEditable">
                    <td>Item 1</td>
                    <td colspan="3">Total</td>
                    <td class="mceEditable">$20.00</td>
body {
  margin: 2rem 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial,

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);
  selector: "textarea",
  plugins: "table noneditable code",
  toolbar: "code",
  menubar: false,

  min_height: 380

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