Classic editor example

发布于 2019-05-06 字数55036 浏览 838 评论 0

Live example

This example shows you how to use TinyMCE Classic Editor.

TinyMCE HTML JS Edit on CodePen


<textarea id="classic">
  <img style="float:right" src='https://www.tiny.cloud/images/glyph-tinymce@2x.png' alt="TinyMCE" height='150px'/>

  <h2>The world’s first rich text editor in the cloud</h2>

  <p>
    Have you heard about Tiny Cloud? 
    It’s the first step in our journey to help you deliver great content creation experiences, no matter your level of expertise. 
    50,000 developers already agree. 
    They get free access to our global CDN, image proxy services and auto updates to the TinyMCE editor. 
    They’re also ready for some exciting updates coming soon.
  </p>


  <p>
    One of these enhancements is <strong>Tiny Drive</strong>: imagine file management for TinyMCE, in the cloud, made super easy. 
    Learn more at <a external-link="true" href='https://www.tiny.cloud/tinydrive/'>tinymce.com/tinydrive</a>, where you’ll find a working demo and an opportunity to provide feedback to the product team.
  </p>

  <h3>An editor for every project</h3>

  <p>
    Here are some of our customer’s most common use cases for TinyMCE:
    <ul>
      <li>Content Management Systems (<em>e.g. WordPress, Umbraco</em>)</li>
      <li>Learning Management Systems (<em>e.g. Blackboard</em>)</li>
      <li>Customer Relationship Management and marketing automation (<em>e.g. Marketo</em>)</li>
      <li>Email marketing (<em>e.g. Constant Contact</em>)</li>
      <li>Content creation in SaaS systems (<em>e.g. Eventbrite, Evernote, GoFundMe, Zendesk</em>)</li>
    </ul>
  </p>

  <p>
    And those use cases are just the start. 
    TinyMCE is incredibly flexible, and with hundreds of APIs there’s likely a solution for your editor project. 
    If you haven’t experienced Tiny Cloud, get started today. 
    You’ll even get a free trial of our premium plugins – no credit card required!
  </p>

</textarea>




var mentionsFetchFunction = function (query, success) {
  var users = [
    "Terry Green", "Edward Carroll", "Virginia Turner", "Alexander Schneider", "Gary Vasquez", "Randy Howell",
    "Katherine Moore", "Betty Washington", "Grace Chapman", "Christina Nguyen", "Danielle Rose", "Thomas Freeman",
    "Thomas Armstrong", "Vincent Lee", "Brittany Kelley", "Brenda Wheeler", "Amy Price", "Hannah Harvey",
    "Bobby Howard", "Frank Fox", "Diane Hopkins", "Johnny Hawkins", "Sean Alexander", "Emma Roberts", "Thomas Snyder",
    "Thomas Allen", "Rebecca Ross", "Amy Boyd", "Kenneth Watkins", "Sarah Tucker", "Lawrence Burke", "Emma Carr",
    "Zachary Mason", "John Scott", "Michelle Davis", "Nicholas Cole", "Gerald Nelson", "Emily Smith", "Christian Stephens",
    "Grace Carr", "Arthur Watkins", "Frances Baker", "Katherine Cook", "Roger Wallace", "Pamela Arnold", "Linda Barnes",
    "Jacob Warren", "Billy Ramirez", "Pamela Walsh", "Paul Wade", "Katherine Campbell", "Jeffrey Berry", "Patrick Bowman",
    "Dennis Alvarez", "Crystal Lucas", "Howard Mendoza", "Patricia Wallace", "Peter Stone", "Tiffany Lane", "Joe Perkins",
    "Gloria Reynolds", "Willie Fernandez", "Doris Harper", "Heather Sandoval", "Danielle Franklin", "Ann Ellis",
    "Christopher Hernandez", "Pamela Perry", "Matthew Henderson", "Jesse Mitchell", "Olivia Reed", "David Clark", "Juan Taylor",
    "Michael Garrett", "Gerald Guerrero", "Jerry Coleman", "Joyce Vasquez", "Jane Bryant", "Sean West", "Deborah Bradley",
    "Phillip Castillo", "Martha Coleman", "Ryan Santos", "Harold Hanson", "Frances Hoffman", "Heather Fisher", "Martha Martin",
    "George Gray", "Rachel Herrera", "Billy Hart", "Kelly Campbell", "Kelly Marshall", "Doris Simmons", "Julie George",
    "Raymond Burke", "Ruth Hart", "Jack Schmidt", "Billy Schmidt", "Ruth Wagner", "Zachary Estrada", "Olivia Griffin", "Ann Hayes",
    "Julia Weaver", "Anna Nelson", "Willie Anderson", "Anna Schneider", "Debra Torres", "Jordan Holmes", "Thomas Dean",
    "Maria Burton", "Terry Long", "Danielle McDonald", "Kyle Flores", "Cheryl Garcia", "Judy Delgado", "Karen Elliott",
    "Vincent Ortiz", "Ann Wright", "Ann Ramos", "Roy Jensen", "Keith Cunningham", "Mary Campbell", "Jesse Ortiz", "Joseph Mendoza",
    "Nathan Bishop", "Lori Valdez", "Tammy Jacobs", "Mary West", "Juan Mitchell", "Thomas Adams", "Christian Martinez", "James Ramos",
    "Deborah Ross", "Eric Holmes", "Thomas Diaz", "Sharon Morales", "Kathryn Hamilton", "Helen Edwards", "Betty Powell",
    "Harry Campbell", "Raymond Perkins", "Melissa Wallace", "Danielle Hicks", "Harold Brewer", "Jack Burns", "Anna Robinson",
    "Dorothy Nguyen", "Jane Dean", "Janice Hunter", "Ryan Moore", "Brian Riley", "Brittany Bradley", "Phillip Ortega", "William Fisher",
    "Jennifer Schultz", "Samantha Perez", "Linda Carr", "Ann Brown", "Shirley Kim", "Jeremy Alvarez", "Dylan Oliver", "Roy Gomez",
    "Ethan Brewer", "Ruth Lucas", "Marilyn Myers", "Danielle Wright", "Jose Meyer", "Bobby Brown", "Angela Crawford", "Brandon Willis",
    "Kyle McDonald", "Aaron Valdez", "Kevin Webb", "Ashley Gordon", "Karen Jenkins", "Johnny Santos", "Ashley Henderson", "Amy Walters",
    "Amber Rodriguez", "Thomas Ross", "Dorothy Wells", "Jennifer Murphy", "Douglas Phillips", "Helen Johnston", "Nathan Hawkins",
    "Roger Mitchell", "Michael Young", "Eugene Cruz", "Kevin Snyder", "Frank Ryan", "Tiffany Peters", "Beverly Garza", "Maria Wright",
    "Shirley Jensen", "Carolyn Munoz", "Kathleen Day", "Ethan Meyer", "Rachel Fields", "Joan Bell", "Ashley Sims", "Sara Fields",
    "Elizabeth Willis", "Ralph Torres", "Charles Lopez", "Aaron Green", "Arthur Hanson", "Betty Snyder", "Jose Romero", "Linda Martinez",
    "Zachary Tran", "Sean Matthews", "Eric Elliott", "Kimberly Welch", "Jason Bennett", "Nicole Patel", "Emily Guzman", "Lori Snyder",
    "Sandra White", "Christina Lawson", "Jacob Campbell", "Ruth Foster", "Mark McDonald", "Carol Williams", "Alice Washington",
    "Brandon Ross", "Judy Burns", "Zachary Hawkins", "Julie Chavez", "Randy Duncan", "Lisa Robinson", "Jacqueline Reynolds", "Paul Weaver",
    "Edward Gilbert", "Deborah Butler", "Frances Fox", "Joshua Schmidt", "Ashley Oliver", "Martha Chavez", "Heather Hudson",
    "Lauren Collins", "Catherine Marshall", "Katherine Wells", "Robert Munoz", "Pamela Nelson", "Dylan Bowman", "Virginia Snyder",
    "Janet Ruiz", "Ralph Burton", "Jose Bryant", "Russell Medina", "Brittany Snyder", "Richard Cruz", "Matthew Jimenez", "Danielle Graham",
    "Steven Guerrero", "Benjamin Matthews", "Janet Mendoza", "Harry Brewer", "Scott Cooper", "Alexander Keller", "Virginia Gordon",
    "Randy Scott", "Kimberly Olson", "Helen Lynch", "Ronald Garcia", "Joseph Willis", "Philip Walker", "Tiffany Harris", "Brittany Weber",
    "Gregory Harris", "Sean Owens", "Wayne Meyer", "Roy McCoy", "Keith Lucas", "Christian Watkins", "Christopher Porter", "Sandra Lopez",
    "Harry Ward", "Julie Sims", "Albert Keller", "Lori Ortiz", "Virginia Henry", "Samuel Green", "Judith Cole", "Ethan Castillo", "Angela Ellis",
    "Amy Reid", "Jason Brewer", "Aaron Clark", "Aaron Elliott", "Doris Herrera", "Howard Castro", "Kenneth Davis", "Austin Spencer",
    "Jonathan Marshall", "Phillip Nelson", "Julia Guzman", "Robert Hansen", "Kevin Anderson", "Gerald Arnold", "Austin Castro", "Zachary Moore",
    "Joseph Cooper", "Barbara Black", "Albert Mendez", "Marie Lane", "Jacob Nichols", "Virginia Marshall", "Aaron Miller", "Linda Harvey",
    "Christopher Morris", "Emma Fields", "Scott Guzman", "Olivia Alexander", "Kelly Garrett", "Jesse Hanson", "Henry Wong", "Billy Vasquez",
    "Larry Ramirez", "Bryan Brooks", "Alan Berry", "Nicole Powell", "Stephen Bowman", "Eric Hughes", "Elizabeth Obrien", "Timothy Ramos",
    "Michelle Russell", "Denise Ruiz", "Sean Carter", "Amanda Barnett", "Kathy Black", "Terry Gutierrez", "John Jensen", "Grace Sanchez",
    "Tiffany Harvey", "Jacqueline Sims", "Wayne Lee", "Roy Foster", "Joyce Hart", "Joseph Russell", "Harold Washington", "Beverly Cox",
    "Nicole Morales", "Anna Carpenter", "Jesse Ray", "Ann Snyder", "Mark Diaz", "Elizabeth Harper", "Andrew Guerrero", "Cheryl Silva",
    "Michelle Hudson", "Jeffrey Santos", "Victoria Vasquez", "Matthew Meyer", "Jacob Murray", "Jose Munoz", "Edward Howell", "Vincent Hunter",
    "Daniel Walters", "Samantha Obrien", "Laura Elliott", "Richard Olson", "Daniel Graham", "Carol Lee", "Grace Sullivan", "Nancy Rodriguez",
    "Tyler Tran", "Crystal Shaw", "Madison Allen", "Ralph Sims", "Joe Jenkins", "Dennis Ray", "Arthur Davidson", "Victoria Allen", "Arthur Jackson",
    "Joan Thomas", "Daniel Hopkins", "Gloria Hicks", "Danielle Price", "Craig Keller", "Alan Morgan", "Gregory Silva", "Samantha Kelly",
    "Rachel Williamson", "Bruce Garrett", "Jacob Smith", "Kathleen Nichols", "Sarah Long", "Carol Pearson", "Virginia Mendez", "Judy Valdez",
    "Jason Garza", "Brenda Fowler", "Karen Edwards", "Alexander Anderson", "Pamela Wallace", "Ruth Howell", "Walter Hernandez", "George Lucas",
    "Samantha Long", "Margaret Garza", "Kathleen Schultz", "Frances Guerrero", "Amber Meyer", "Rachel Morales", "Teresa Curtis", "Heather Bell",
    "Grace Johnson", "Melissa King", "Zachary Cook", "Carol Schultz", "Jane Beck", "Karen Stone", "Roger Brooks", "Carolyn Fuller", "Nicholas Coleman",
    "William Bishop", "Christine May", "Linda George", "Jean Meyer", "Cheryl Armstrong", "Danielle Welch", "Amanda Graham", "Janice Carter",
    "Catherine Brooks", "Lawrence Gonzalez", "Amy Russell", "Eugene Jimenez", "Joseph Carlson", "Peter McCoy", "Jerry Washington", "Carolyn Obrien",
    "Mark Walker", "Stephanie Hoffman", "Julie Pena", "Karen Curtis", "Bryan Cruz", "Madison Shaw", "Rachel Graham", "Susan Simpson", "Andrea Harrison",
    "Bryan Miller", "Vincent McDonald", "Jesse McCoy", "Christine Ramos", "Dorothy Riley", "Karen Warren", "Ashley Weber", "Judith Robinson",
    "Alan Mendez", "Donna Medina", "Helen Lane", "Douglas Clark", "Brenda Romero", "Doris Wells", "Patrick Howell", "Doris Lawrence", "Harry Jacobs",
    "Phillip Rose", "Deborah Patel", "Bryan Day", "Rachel Butler", "Paul Butler", "Judy Knight", "Willie Wallace", "Phillip Anderson", "Emma Black",
    "Lisa Lynch", "Kimberly Freeman", "Ronald West", "Kathleen Harris", "Martha Ruiz", "Phillip Moreno", "Robert Vargas", "Jesse Diaz", "Christine Weber",
    "Karen Stanley", "Theresa Edwards", "Kathryn Chavez", "Sarah Rios", "Danielle Wong", "Kathy Carr", "Joan Diaz", "Albert Walters",
    "Denise Kim", "Katherine Pearson", "Diana Richardson", "Harry Ford", "Eric Mills", "Sean Hicks", "Joe Brown", "Judith Morgan", "Harry Hunter",
    "Matthew Bryant", "Tyler Rose", "Mildred Delgado", "Emma Peters", "Walter Delgado", "Lauren Gilbert", "Christopher Romero"
  ];

  users = users.map(function (fullName) {
    var userName = fullName.replace(/ /g, '').toLowerCase();

    return {
      id: userName,
      name: userName,
      fullName: fullName
    }
  });

  users = users.filter(function (user) {
    return user.name.indexOf(query.term) === 0
  });

  success(users)
};

var table = '<p>This table uses features of the non-editable plugin to make the text in the<br /><strong>top row</strong> and <strong>left column</strong> uneditable.</p>' +
'    <table style="width: 60%; border-collapse: collapse;" border="1"> ' +
'        <caption class="mceNonEditable">Ephox Sales Analysis</caption> ' +
'       <tbody> ' +
'          <tr class="mceNonEditable"> ' +
'                <th style="width: 40%;">&nbsp;</th><th style="width: 15%;">Q1</th> ' +
'                <th style="width: 15%;">Q2</th><th style="width: 15%;">Q3</th> ' +
'                <th style="width: 15%;">Q4</th> ' +
'            </tr> ' +
'            <tr> ' +
'                <td class="mceNonEditable">East Region</td> ' +
'                <td>100</td> <td>110</td> <td>115</td> <td>130</td> ' +
'            </tr> ' +
'            <tr> ' +
'                <td class="mceNonEditable">Central Region</td> ' +
'                <td>100</td> <td>110</td> <td>115</td> <td>130</td> ' +
'            </tr> ' +
'            <tr> ' +
'                <td class="mceNonEditable">West Region</td> ' +
'                <td>100</td> <td>110</td> <td>115</td> <td>130</td> ' +
'            </tr> ' +
'        </tbody> ' +
'    </table>';

var table2 = '<div> ' +
'        <p>' +
'            Templates are a great way to help content authors get started creating content.  You can define the HTML for the template and ' +
'            then when the author inserts the template they have a great start towards creating content! ' +
'        </p> ' +
'        <p> ' +
'            In this example we create a simple table for providing product details for a product page on your web site.  The headings are ' +
'            made non-editable by loading the non-editable plugin and placing the correct class on the appropriate table cells. ' +
'        </p> ' +
'        <table style="width:90%; border-collapse: collapse;" border="1"> ' +
'        <tbody> ' +
'        <tr style="height: 30px;"> ' +
'            <th class="mceNonEditable" style="width:40%; text-align: left;">Product Name:</td><td style="width:60%;">{insert name here}</td> ' +
'        </tr> ' +
'        <tr style="height: 30px;"> ' +
'            <th class="mceNonEditable" style="width:40%; text-align: left;">Product Description:</td><td style="width:60%;">{insert description here}</td> ' +
'        </tr> ' +
'        <tr style="height: 30px;"> ' +
'            <th class="mceNonEditable" style="width:40%; text-align: left;">Product Price:</td><td style="width:60%;">{insert price here}</td> ' +
'        </tr> ' +
'        </tbody> ' +
'        </table> ' +
'    </div> ';

var demoBaseConfig = {
  selector: "textarea#classic",
  width: 755,
  height: 500,
  resize: false,
  autosave_ask_before_unload: false,
  mentions_fetch: mentionsFetchFunction,
  powerpaste_allow_local_images: true,
  plugins: [
    "a11ychecker advcode advlist anchor autolink codesample colorpicker fullscreen help image imagetools tinydrive",
    " lists link media noneditable powerpaste preview",
    " searchreplace table template textcolor tinymcespellchecker visualblocks wordcount mentions"
  ],
  templates: [
    {
      title: "Non-editable Example",
      description: "Non-editable example.",
      content: table
    },
    {
      title: "Simple Table Example",
      description: "Simple Table example.",
      content: table2
    }
  ],
  toolbar:
    "insertfile a11ycheck undo redo | bold italic | forecolor backcolor | template codesample | alignleft aligncenter alignright alignjustify | bullist numlist | link image tinydrive",
  content_css: [
    "//fonts.googleapis.com/css?family=Lato:300,300i,400,400i",
    "//www.tiny.cloud/css/content-standard.min.css"
  ],
  spellchecker_dialog: true,
  spellchecker_whitelist: ['Ephox', 'Moxiecode'],
  tinydrive_demo_files_url: '/docs/demo/tiny-drive-demo/demo_files.json',
  tinydrive_token_provider: function (success, failure) {
    success({ token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJqb2huZG9lIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.Ks_BdfH4CWilyzLNk8S2gDARFhuxIauLa8PwhdEQhEo' });
  }
};

tinymce.init(demoBaseConfig);


(function() { var isIE = !!window.MSInputMethodContext && !!document.documentMode; if (isIE && document.getElementsByClassName(“ie11_optional”)[0] !== undefined) { document.getElementsByClassName(“ie11_optional”)[0].style.display = ‘none’; } })(); (function() { var mentionsFetchFunction = function (query, success) { var users = [ “Terry Green”, “Edward Carroll”, “Virginia Turner”, “Alexander Schneider”, “Gary Vasquez”, “Randy Howell”, “Katherine Moore”, “Betty Washington”, “Grace Chapman”, “Christina Nguyen”, “Danielle Rose”, “Thomas Freeman”, “Thomas Armstrong”, “Vincent Lee”, “Brittany Kelley”, “Brenda Wheeler”, “Amy Price”, “Hannah Harvey”, “Bobby Howard”, “Frank Fox”, “Diane Hopkins”, “Johnny Hawkins”, “Sean Alexander”, “Emma Roberts”, “Thomas Snyder”, “Thomas Allen”, “Rebecca Ross”, “Amy Boyd”, “Kenneth Watkins”, “Sarah Tucker”, “Lawrence Burke”, “Emma Carr”, “Zachary Mason”, “John Scott”, “Michelle Davis”, “Nicholas Cole”, “Gerald Nelson”, “Emily Smith”, “Christian Stephens”, “Grace Carr”, “Arthur Watkins”, “Frances Baker”, “Katherine Cook”, “Roger Wallace”, “Pamela Arnold”, “Linda Barnes”, “Jacob Warren”, “Billy Ramirez”, “Pamela Walsh”, “Paul Wade”, “Katherine Campbell”, “Jeffrey Berry”, “Patrick Bowman”, “Dennis Alvarez”, “Crystal Lucas”, “Howard Mendoza”, “Patricia Wallace”, “Peter Stone”, “Tiffany Lane”, “Joe Perkins”, “Gloria Reynolds”, “Willie Fernandez”, “Doris Harper”, “Heather Sandoval”, “Danielle Franklin”, “Ann Ellis”, “Christopher Hernandez”, “Pamela Perry”, “Matthew Henderson”, “Jesse Mitchell”, “Olivia Reed”, “David Clark”, “Juan Taylor”, “Michael Garrett”, “Gerald Guerrero”, “Jerry Coleman”, “Joyce Vasquez”, “Jane Bryant”, “Sean West”, “Deborah Bradley”, “Phillip Castillo”, “Martha Coleman”, “Ryan Santos”, “Harold Hanson”, “Frances Hoffman”, “Heather Fisher”, “Martha Martin”, “George Gray”, “Rachel Herrera”, “Billy Hart”, “Kelly Campbell”, “Kelly Marshall”, “Doris Simmons”, “Julie George”, “Raymond Burke”, “Ruth Hart”, “Jack Schmidt”, “Billy Schmidt”, “Ruth Wagner”, “Zachary Estrada”, “Olivia Griffin”, “Ann Hayes”, “Julia Weaver”, “Anna Nelson”, “Willie Anderson”, “Anna Schneider”, “Debra Torres”, “Jordan Holmes”, “Thomas Dean”, “Maria Burton”, “Terry Long”, “Danielle McDonald”, “Kyle Flores”, “Cheryl Garcia”, “Judy Delgado”, “Karen Elliott”, “Vincent Ortiz”, “Ann Wright”, “Ann Ramos”, “Roy Jensen”, “Keith Cunningham”, “Mary Campbell”, “Jesse Ortiz”, “Joseph Mendoza”, “Nathan Bishop”, “Lori Valdez”, “Tammy Jacobs”, “Mary West”, “Juan Mitchell”, “Thomas Adams”, “Christian Martinez”, “James Ramos”, “Deborah Ross”, “Eric Holmes”, “Thomas Diaz”, “Sharon Morales”, “Kathryn Hamilton”, “Helen Edwards”, “Betty Powell”, “Harry Campbell”, “Raymond Perkins”, “Melissa Wallace”, “Danielle Hicks”, “Harold Brewer”, “Jack Burns”, “Anna Robinson”, “Dorothy Nguyen”, “Jane Dean”, “Janice Hunter”, “Ryan Moore”, “Brian Riley”, “Brittany Bradley”, “Phillip Ortega”, “William Fisher”, “Jennifer Schultz”, “Samantha Perez”, “Linda Carr”, “Ann Brown”, “Shirley Kim”, “Jeremy Alvarez”, “Dylan Oliver”, “Roy Gomez”, “Ethan Brewer”, “Ruth Lucas”, “Marilyn Myers”, “Danielle Wright”, “Jose Meyer”, “Bobby Brown”, “Angela Crawford”, “Brandon Willis”, “Kyle McDonald”, “Aaron Valdez”, “Kevin Webb”, “Ashley Gordon”, “Karen Jenkins”, “Johnny Santos”, “Ashley Henderson”, “Amy Walters”, “Amber Rodriguez”, “Thomas Ross”, “Dorothy Wells”, “Jennifer Murphy”, “Douglas Phillips”, “Helen Johnston”, “Nathan Hawkins”, “Roger Mitchell”, “Michael Young”, “Eugene Cruz”, “Kevin Snyder”, “Frank Ryan”, “Tiffany Peters”, “Beverly Garza”, “Maria Wright”, “Shirley Jensen”, “Carolyn Munoz”, “Kathleen Day”, “Ethan Meyer”, “Rachel Fields”, “Joan Bell”, “Ashley Sims”, “Sara Fields”, “Elizabeth Willis”, “Ralph Torres”, “Charles Lopez”, “Aaron Green”, “Arthur Hanson”, “Betty Snyder”, “Jose Romero”, “Linda Martinez”, “Zachary Tran”, “Sean Matthews”, “Eric Elliott”, “Kimberly Welch”, “Jason Bennett”, “Nicole Patel”, “Emily Guzman”, “Lori Snyder”, “Sandra White”, “Christina Lawson”, “Jacob Campbell”, “Ruth Foster”, “Mark McDonald”, “Carol Williams”, “Alice Washington”, “Brandon Ross”, “Judy Burns”, “Zachary Hawkins”, “Julie Chavez”, “Randy Duncan”, “Lisa Robinson”, “Jacqueline Reynolds”, “Paul Weaver”, “Edward Gilbert”, “Deborah Butler”, “Frances Fox”, “Joshua Schmidt”, “Ashley Oliver”, “Martha Chavez”, “Heather Hudson”, “Lauren Collins”, “Catherine Marshall”, “Katherine Wells”, “Robert Munoz”, “Pamela Nelson”, “Dylan Bowman”, “Virginia Snyder”, “Janet Ruiz”, “Ralph Burton”, “Jose Bryant”, “Russell Medina”, “Brittany Snyder”, “Richard Cruz”, “Matthew Jimenez”, “Danielle Graham”, “Steven Guerrero”, “Benjamin Matthews”, “Janet Mendoza”, “Harry Brewer”, “Scott Cooper”, “Alexander Keller”, “Virginia Gordon”, “Randy Scott”, “Kimberly Olson”, “Helen Lynch”, “Ronald Garcia”, “Joseph Willis”, “Philip Walker”, “Tiffany Harris”, “Brittany Weber”, “Gregory Harris”, “Sean Owens”, “Wayne Meyer”, “Roy McCoy”, “Keith Lucas”, “Christian Watkins”, “Christopher Porter”, “Sandra Lopez”, “Harry Ward”, “Julie Sims”, “Albert Keller”, “Lori Ortiz”, “Virginia Henry”, “Samuel Green”, “Judith Cole”, “Ethan Castillo”, “Angela Ellis”, “Amy Reid”, “Jason Brewer”, “Aaron Clark”, “Aaron Elliott”, “Doris Herrera”, “Howard Castro”, “Kenneth Davis”, “Austin Spencer”, “Jonathan Marshall”, “Phillip Nelson”, “Julia Guzman”, “Robert Hansen”, “Kevin Anderson”, “Gerald Arnold”, “Austin Castro”, “Zachary Moore”, “Joseph Cooper”, “Barbara Black”, “Albert Mendez”, “Marie Lane”, “Jacob Nichols”, “Virginia Marshall”, “Aaron Miller”, “Linda Harvey”, “Christopher Morris”, “Emma Fields”, “Scott Guzman”, “Olivia Alexander”, “Kelly Garrett”, “Jesse Hanson”, “Henry Wong”, “Billy Vasquez”, “Larry Ramirez”, “Bryan Brooks”, “Alan Berry”, “Nicole Powell”, “Stephen Bowman”, “Eric Hughes”, “Elizabeth Obrien”, “Timothy Ramos”, “Michelle Russell”, “Denise Ruiz”, “Sean Carter”, “Amanda Barnett”, “Kathy Black”, “Terry Gutierrez”, “John Jensen”, “Grace Sanchez”, “Tiffany Harvey”, “Jacqueline Sims”, “Wayne Lee”, “Roy Foster”, “Joyce Hart”, “Joseph Russell”, “Harold Washington”, “Beverly Cox”, “Nicole Morales”, “Anna Carpenter”, “Jesse Ray”, “Ann Snyder”, “Mark Diaz”, “Elizabeth Harper”, “Andrew Guerrero”, “Cheryl Silva”, “Michelle Hudson”, “Jeffrey Santos”, “Victoria Vasquez”, “Matthew Meyer”, “Jacob Murray”, “Jose Munoz”, “Edward Howell”, “Vincent Hunter”, “Daniel Walters”, “Samantha Obrien”, “Laura Elliott”, “Richard Olson”, “Daniel Graham”, “Carol Lee”, “Grace Sullivan”, “Nancy Rodriguez”, “Tyler Tran”, “Crystal Shaw”, “Madison Allen”, “Ralph Sims”, “Joe Jenkins”, “Dennis Ray”, “Arthur Davidson”, “Victoria Allen”, “Arthur Jackson”, “Joan Thomas”, “Daniel Hopkins”, “Gloria Hicks”, “Danielle Price”, “Craig Keller”, “Alan Morgan”, “Gregory Silva”, “Samantha Kelly”, “Rachel Williamson”, “Bruce Garrett”, “Jacob Smith”, “Kathleen Nichols”, “Sarah Long”, “Carol Pearson”, “Virginia Mendez”, “Judy Valdez”, “Jason Garza”, “Brenda Fowler”, “Karen Edwards”, “Alexander Anderson”, “Pamela Wallace”, “Ruth Howell”, “Walter Hernandez”, “George Lucas”, “Samantha Long”, “Margaret Garza”, “Kathleen Schultz”, “Frances Guerrero”, “Amber Meyer”, “Rachel Morales”, “Teresa Curtis”, “Heather Bell”, “Grace Johnson”, “Melissa King”, “Zachary Cook”, “Carol Schultz”, “Jane Beck”, “Karen Stone”, “Roger Brooks”, “Carolyn Fuller”, “Nicholas Coleman”, “William Bishop”, “Christine May”, “Linda George”, “Jean Meyer”, “Cheryl Armstrong”, “Danielle Welch”, “Amanda Graham”, “Janice Carter”, “Catherine Brooks”, “Lawrence Gonzalez”, “Amy Russell”, “Eugene Jimenez”, “Joseph Carlson”, “Peter McCoy”, “Jerry Washington”, “Carolyn Obrien”, “Mark Walker”, “Stephanie Hoffman”, “Julie Pena”, “Karen Curtis”, “Bryan Cruz”, “Madison Shaw”, “Rachel Graham”, “Susan Simpson”, “Andrea Harrison”, “Bryan Miller”, “Vincent McDonald”, “Jesse McCoy”, “Christine Ramos”, “Dorothy Riley”, “Karen Warren”, “Ashley Weber”, “Judith Robinson”, “Alan Mendez”, “Donna Medina”, “Helen Lane”, “Douglas Clark”, “Brenda Romero”, “Doris Wells”, “Patrick Howell”, “Doris Lawrence”, “Harry Jacobs”, “Phillip Rose”, “Deborah Patel”, “Bryan Day”, “Rachel Butler”, “Paul Butler”, “Judy Knight”, “Willie Wallace”, “Phillip Anderson”, “Emma Black”, “Lisa Lynch”, “Kimberly Freeman”, “Ronald West”, “Kathleen Harris”, “Martha Ruiz”, “Phillip Moreno”, “Robert Vargas”, “Jesse Diaz”, “Christine Weber”, “Karen Stanley”, “Theresa Edwards”, “Kathryn Chavez”, “Sarah Rios”, “Danielle Wong”, “Kathy Carr”, “Joan Diaz”, “Albert Walters”, “Denise Kim”, “Katherine Pearson”, “Diana Richardson”, “Harry Ford”, “Eric Mills”, “Sean Hicks”, “Joe Brown”, “Judith Morgan”, “Harry Hunter”, “Matthew Bryant”, “Tyler Rose”, “Mildred Delgado”, “Emma Peters”, “Walter Delgado”, “Lauren Gilbert”, “Christopher Romero” ]; users = users.map(function (fullName) { var userName = fullName.replace(/ /g, ”).toLowerCase(); return { id: userName, name: userName, fullName: fullName } }); users = users.filter(function (user) { return user.name.indexOf(query.term) === 0 }); success(users) }; var table = ‘

This table uses features of the non-editable plugin to make the text in the
top row and left column uneditable.

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

Ephox Sales Analysis
  Q1 Q2 Q3 Q4
East Region 100 110 115 130
Central Region 100 110 115 130
West Region 100 110 115 130

‘; var table2 = ‘ ‘ + ‘

‘ + ‘ Templates are a great way to help content authors get started creating content. You can define the HTML for the template and ‘ + ‘ then when the author inserts the template they have a great start towards creating content! ‘ + ‘

‘ + ‘

‘ + ‘ In this example we create a simple table for providing product details for a product page on your web site. The headings are ‘ + ‘ made non-editable by loading the non-editable plugin and placing the correct class on the appropriate table cells. ‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

Product Name: {insert name here}
Product Description: {insert description here}
Product Price: {insert price here}

‘ + ‘ ‘; var demoBaseConfig = { selector: “textarea#classic”, width: 755, height: 500, resize: false, autosave_ask_before_unload: false, mentions_fetch: mentionsFetchFunction, powerpaste_allow_local_images: true, plugins: [ “a11ychecker advcode advlist anchor autolink codesample colorpicker fullscreen help image imagetools tinydrive”, ” lists link media noneditable powerpaste preview”, ” searchreplace table template textcolor tinymcespellchecker visualblocks wordcount mentions” ], templates: [ { title: “Non-editable Example”, description: “Non-editable example.”, content: table }, { title: “Simple Table Example”, description: “Simple Table example.”, content: table2 } ], toolbar: “insertfile a11ycheck undo redo | bold italic | forecolor backcolor | template codesample | alignleft aligncenter alignright alignjustify | bullist numlist | link image tinydrive”, content_css: [ “//fonts.googleapis.com/css?family=Lato:300,300i,400,400i”, “//www.tiny.cloud/css/content-standard.min.css” ], spellchecker_dialog: true, spellchecker_whitelist: [‘Ephox’, ‘Moxiecode’], tinydrive_demo_files_url: ‘/docs/demo/tiny-drive-demo/demo_files.json’, tinydrive_token_provider: function (success, failure) { success({ token: ‘eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJqb2huZG9lIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.Ks_BdfH4CWilyzLNk8S2gDARFhuxIauLa8PwhdEQhEo’ }); } }; tinymce.init(demoBaseConfig); })(); (function() { /* TODO: more js, less jekyll */ var id = “classic”; var html = decodeURIComponent(“%0A%3Ctextarea%20id=%22classic%22%3E%0A%20%20%3Cimg%20style=%22float:right%22%20src=’https://www.tiny.cloud/images/glyph-tinymce@2x.png’%20alt=%22TinyMCE%22%20height=’150px’/%3E%0A%0A%20%20%3Ch2%3EThe%20world%E2%80%99s%20first%20rich%20text%20editor%20in%20the%20cloud%3C/h2%3E%0A%0A%20%20%3Cp%3E%0A%20%20%20%20Have%20you%20heard%20about%20Tiny%20Cloud?%20%0A%20%20%20%20It%E2%80%99s%20the%20first%20step%20in%20our%20journey%20to%20help%20you%20deliver%20great%20content%20creation%20experiences,%20no%20matter%20your%20level%20of%20expertise.%20%0A%20%20%20%2050,000%20developers%20already%20agree.%20%0A%20%20%20%20They%20get%20free%20access%20to%20our%20global%20CDN,%20image%20proxy%20services%20and%20auto%20updates%20to%20the%20TinyMCE%20editor.%20%0A%20%20%20%20They%E2%80%99re%20also%20ready%20for%20some%20exciting%20updates%20coming%20soon.%0A%20%20%3C/p%3E%0A%0A%0A%20%20%3Cp%3E%0A%20%20%20%20One%20of%20these%20enhancements%20is%20%3Cstrong%3ETiny%20Drive%3C/strong%3E:%20imagine%20file%20management%20for%20TinyMCE,%20in%20the%20cloud,%20made%20super%20easy.%20%0A%20%20%20%20Learn%20more%20at%20%3Ca%20href=’https://www.tiny.cloud/tinydrive/’%3Etinymce.com/tinydrive%3C/a%3E,%20where%20you%E2%80%99ll%20find%20a%20working%20demo%20and%20an%20opportunity%20to%20provide%20feedback%20to%20the%20product%20team.%0A%20%20%3C/p%3E%0A%0A%20%20%3Ch3%3EAn%20editor%20for%20every%20project%3C/h3%3E%0A%0A%20%20%3Cp%3E%0A%20%20%20%20Here%20are%20some%20of%20our%20customer%E2%80%99s%20most%20common%20use%20cases%20for%20TinyMCE:%0A%20%20%20%20%3Cul%3E%0A%20%20%20%20%20%20%3Cli%3EContent%20Management%20Systems%20(%3Cem%3Ee.g.%20WordPress,%20Umbraco%3C/em%3E)%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3ELearning%20Management%20Systems%20(%3Cem%3Ee.g.%20Blackboard%3C/em%3E)%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3ECustomer%20Relationship%20Management%20and%20marketing%20automation%20(%3Cem%3Ee.g.%20Marketo%3C/em%3E)%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3EEmail%20marketing%20(%3Cem%3Ee.g.%20Constant%20Contact%3C/em%3E)%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3EContent%20creation%20in%20SaaS%20systems%20(%3Cem%3Ee.g.%20Eventbrite,%20Evernote,%20GoFundMe,%20Zendesk%3C/em%3E)%3C/li%3E%0A%20%20%20%20%3C/ul%3E%0A%20%20%3C/p%3E%0A%0A%20%20%3Cp%3E%0A%20%20%20%20And%20those%20use%20cases%20are%20just%20the%20start.%20%0A%20%20%20%20TinyMCE%20is%20incredibly%20flexible,%20and%20with%20hundreds%20of%20APIs%20there%E2%80%99s%20likely%20a%20solution%20for%20your%20editor%20project.%20%0A%20%20%20%20If%20you%20haven%E2%80%99t%20experienced%20Tiny%20Cloud,%20get%20started%20today.%20%0A%20%20%20%20You%E2%80%99ll%20even%20get%20a%20free%20trial%20of%20our%20premium%20plugins%20%E2%80%93%20no%20credit%20card%20required!%0A%20%20%3C/p%3E%0A%0A%3C/textarea%3E%0A%0A”); var js = decodeURIComponent(“%0A%0Avar%20mentionsFetchFunction%20=%20function%20(query,%20success)%20%7B%0A%20%20var%20users%20=%20[%0A%20%20%20%20%22Terry%20Green%22,%20%22Edward%20Carroll%22,%20%22Virginia%20Turner%22,%20%22Alexander%20Schneider%22,%20%22Gary%20Vasquez%22,%20%22Randy%20Howell%22,%0A%20%20%20%20%22Katherine%20Moore%22,%20%22Betty%20Washington%22,%20%22Grace%20Chapman%22,%20%22Christina%20Nguyen%22,%20%22Danielle%20Rose%22,%20%22Thomas%20Freeman%22,%0A%20%20%20%20%22Thomas%20Armstrong%22,%20%22Vincent%20Lee%22,%20%22Brittany%20Kelley%22,%20%22Brenda%20Wheeler%22,%20%22Amy%20Price%22,%20%22Hannah%20Harvey%22,%0A%20%20%20%20%22Bobby%20Howard%22,%20%22Frank%20Fox%22,%20%22Diane%20Hopkins%22,%20%22Johnny%20Hawkins%22,%20%22Sean%20Alexander%22,%20%22Emma%20Roberts%22,%20%22Thomas%20Snyder%22,%0A%20%20%20%20%22Thomas%20Allen%22,%20%22Rebecca%20Ross%22,%20%22Amy%20Boyd%22,%20%22Kenneth%20Watkins%22,%20%22Sarah%20Tucker%22,%20%22Lawrence%20Burke%22,%20%22Emma%20Carr%22,%0A%20%20%20%20%22Zachary%20Mason%22,%20%22John%20Scott%22,%20%22Michelle%20Davis%22,%20%22Nicholas%20Cole%22,%20%22Gerald%20Nelson%22,%20%22Emily%20Smith%22,%20%22Christian%20Stephens%22,%0A%20%20%20%20%22Grace%20Carr%22,%20%22Arthur%20Watkins%22,%20%22Frances%20Baker%22,%20%22Katherine%20Cook%22,%20%22Roger%20Wallace%22,%20%22Pamela%20Arnold%22,%20%22Linda%20Barnes%22,%0A%20%20%20%20%22Jacob%20Warren%22,%20%22Billy%20Ramirez%22,%20%22Pamela%20Walsh%22,%20%22Paul%20Wade%22,%20%22Katherine%20Campbell%22,%20%22Jeffrey%20Berry%22,%20%22Patrick%20Bowman%22,%0A%20%20%20%20%22Dennis%20Alvarez%22,%20%22Crystal%20Lucas%22,%20%22Howard%20Mendoza%22,%20%22Patricia%20Wallace%22,%20%22Peter%20Stone%22,%20%22Tiffany%20Lane%22,%20%22Joe%20Perkins%22,%0A%20%20%20%20%22Gloria%20Reynolds%22,%20%22Willie%20Fernandez%22,%20%22Doris%20Harper%22,%20%22Heather%20Sandoval%22,%20%22Danielle%20Franklin%22,%20%22Ann%20Ellis%22,%0A%20%20%20%20%22Christopher%20Hernandez%22,%20%22Pamela%20Perry%22,%20%22Matthew%20Henderson%22,%20%22Jesse%20Mitchell%22,%20%22Olivia%20Reed%22,%20%22David%20Clark%22,%20%22Juan%20Taylor%22,%0A%20%20%20%20%22Michael%20Garrett%22,%20%22Gerald%20Guerrero%22,%20%22Jerry%20Coleman%22,%20%22Joyce%20Vasquez%22,%20%22Jane%20Bryant%22,%20%22Sean%20West%22,%20%22Deborah%20Bradley%22,%0A%20%20%20%20%22Phillip%20Castillo%22,%20%22Martha%20Coleman%22,%20%22Ryan%20Santos%22,%20%22Harold%20Hanson%22,%20%22Frances%20Hoffman%22,%20%22Heather%20Fisher%22,%20%22Martha%20Martin%22,%0A%20%20%20%20%22George%20Gray%22,%20%22Rachel%20Herrera%22,%20%22Billy%20Hart%22,%20%22Kelly%20Campbell%22,%20%22Kelly%20Marshall%22,%20%22Doris%20Simmons%22,%20%22Julie%20George%22,%0A%20%20%20%20%22Raymond%20Burke%22,%20%22Ruth%20Hart%22,%20%22Jack%20Schmidt%22,%20%22Billy%20Schmidt%22,%20%22Ruth%20Wagner%22,%20%22Zachary%20Estrada%22,%20%22Olivia%20Griffin%22,%20%22Ann%20Hayes%22,%0A%20%20%20%20%22Julia%20Weaver%22,%20%22Anna%20Nelson%22,%20%22Willie%20Anderson%22,%20%22Anna%20Schneider%22,%20%22Debra%20Torres%22,%20%22Jordan%20Holmes%22,%20%22Thomas%20Dean%22,%0A%20%20%20%20%22Maria%20Burton%22,%20%22Terry%20Long%22,%20%22Danielle%20McDonald%22,%20%22Kyle%20Flores%22,%20%22Cheryl%20Garcia%22,%20%22Judy%20Delgado%22,%20%22Karen%20Elliott%22,%0A%20%20%20%20%22Vincent%20Ortiz%22,%20%22Ann%20Wright%22,%20%22Ann%20Ramos%22,%20%22Roy%20Jensen%22,%20%22Keith%20Cunningham%22,%20%22Mary%20Campbell%22,%20%22Jesse%20Ortiz%22,%20%22Joseph%20Mendoza%22,%0A%20%20%20%20%22Nathan%20Bishop%22,%20%22Lori%20Valdez%22,%20%22Tammy%20Jacobs%22,%20%22Mary%20West%22,%20%22Juan%20Mitchell%22,%20%22Thomas%20Adams%22,%20%22Christian%20Martinez%22,%20%22James%20Ramos%22,%0A%20%20%20%20%22Deborah%20Ross%22,%20%22Eric%20Holmes%22,%20%22Thomas%20Diaz%22,%20%22Sharon%20Morales%22,%20%22Kathryn%20Hamilton%22,%20%22Helen%20Edwards%22,%20%22Betty%20Powell%22,%0A%20%20%20%20%22Harry%20Campbell%22,%20%22Raymond%20Perkins%22,%20%22Melissa%20Wallace%22,%20%22Danielle%20Hicks%22,%20%22Harold%20Brewer%22,%20%22Jack%20Burns%22,%20%22Anna%20Robinson%22,%0A%20%20%20%20%22Dorothy%20Nguyen%22,%20%22Jane%20Dean%22,%20%22Janice%20Hunter%22,%20%22Ryan%20Moore%22,%20%22Brian%20Riley%22,%20%22Brittany%20Bradley%22,%20%22Phillip%20Ortega%22,%20%22William%20Fisher%22,%0A%20%20%20%20%22Jennifer%20Schultz%22,%20%22Samantha%20Perez%22,%20%22Linda%20Carr%22,%20%22Ann%20Brown%22,%20%22Shirley%20Kim%22,%20%22Jeremy%20Alvarez%22,%20%22Dylan%20Oliver%22,%20%22Roy%20Gomez%22,%0A%20%20%20%20%22Ethan%20Brewer%22,%20%22Ruth%20Lucas%22,%20%22Marilyn%20Myers%22,%20%22Danielle%20Wright%22,%20%22Jose%20Meyer%22,%20%22Bobby%20Brown%22,%20%22Angela%20Crawford%22,%20%22Brandon%20Willis%22,%0A%20%20%20%20%22Kyle%20McDonald%22,%20%22Aaron%20Valdez%22,%20%22Kevin%20Webb%22,%20%22Ashley%20Gordon%22,%20%22Karen%20Jenkins%22,%20%22Johnny%20Santos%22,%20%22Ashley%20Henderson%22,%20%22Amy%20Walters%22,%0A%20%20%20%20%22Amber%20Rodriguez%22,%20%22Thomas%20Ross%22,%20%22Dorothy%20Wells%22,%20%22Jennifer%20Murphy%22,%20%22Douglas%20Phillips%22,%20%22Helen%20Johnston%22,%20%22Nathan%20Hawkins%22,%0A%20%20%20%20%22Roger%20Mitchell%22,%20%22Michael%20Young%22,%20%22Eugene%20Cruz%22,%20%22Kevin%20Snyder%22,%20%22Frank%20Ryan%22,%20%22Tiffany%20Peters%22,%20%22Beverly%20Garza%22,%20%22Maria%20Wright%22,%0A%20%20%20%20%22Shirley%20Jensen%22,%20%22Carolyn%20Munoz%22,%20%22Kathleen%20Day%22,%20%22Ethan%20Meyer%22,%20%22Rachel%20Fields%22,%20%22Joan%20Bell%22,%20%22Ashley%20Sims%22,%20%22Sara%20Fields%22,%0A%20%20%20%20%22Elizabeth%20Willis%22,%20%22Ralph%20Torres%22,%20%22Charles%20Lopez%22,%20%22Aaron%20Green%22,%20%22Arthur%20Hanson%22,%20%22Betty%20Snyder%22,%20%22Jose%20Romero%22,%20%22Linda%20Martinez%22,%0A%20%20%20%20%22Zachary%20Tran%22,%20%22Sean%20Matthews%22,%20%22Eric%20Elliott%22,%20%22Kimberly%20Welch%22,%20%22Jason%20Bennett%22,%20%22Nicole%20Patel%22,%20%22Emily%20Guzman%22,%20%22Lori%20Snyder%22,%0A%20%20%20%20%22Sandra%20White%22,%20%22Christina%20Lawson%22,%20%22Jacob%20Campbell%22,%20%22Ruth%20Foster%22,%20%22Mark%20McDonald%22,%20%22Carol%20Williams%22,%20%22Alice%20Washington%22,%0A%20%20%20%20%22Brandon%20Ross%22,%20%22Judy%20Burns%22,%20%22Zachary%20Hawkins%22,%20%22Julie%20Chavez%22,%20%22Randy%20Duncan%22,%20%22Lisa%20Robinson%22,%20%22Jacqueline%20Reynolds%22,%20%22Paul%20Weaver%22,%0A%20%20%20%20%22Edward%20Gilbert%22,%20%22Deborah%20Butler%22,%20%22Frances%20Fox%22,%20%22Joshua%20Schmidt%22,%20%22Ashley%20Oliver%22,%20%22Martha%20Chavez%22,%20%22Heather%20Hudson%22,%0A%20%20%20%20%22Lauren%20Collins%22,%20%22Catherine%20Marshall%22,%20%22Katherine%20Wells%22,%20%22Robert%20Munoz%22,%20%22Pamela%20Nelson%22,%20%22Dylan%20Bowman%22,%20%22Virginia%20Snyder%22,%0A%20%20%20%20%22Janet%20Ruiz%22,%20%22Ralph%20Burton%22,%20%22Jose%20Bryant%22,%20%22Russell%20Medina%22,%20%22Brittany%20Snyder%22,%20%22Richard%20Cruz%22,%20%22Matthew%20Jimenez%22,%20%22Danielle%20Graham%22,%0A%20%20%20%20%22Steven%20Guerrero%22,%20%22Benjamin%20Matthews%22,%20%22Janet%20Mendoza%22,%20%22Harry%20Brewer%22,%20%22Scott%20Cooper%22,%20%22Alexander%20Keller%22,%20%22Virginia%20Gordon%22,%0A%20%20%20%20%22Randy%20Scott%22,%20%22Kimberly%20Olson%22,%20%22Helen%20Lynch%22,%20%22Ronald%20Garcia%22,%20%22Joseph%20Willis%22,%20%22Philip%20Walker%22,%20%22Tiffany%20Harris%22,%20%22Brittany%20Weber%22,%0A%20%20%20%20%22Gregory%20Harris%22,%20%22Sean%20Owens%22,%20%22Wayne%20Meyer%22,%20%22Roy%20McCoy%22,%20%22Keith%20Lucas%22,%20%22Christian%20Watkins%22,%20%22Christopher%20Porter%22,%20%22Sandra%20Lopez%22,%0A%20%20%20%20%22Harry%20Ward%22,%20%22Julie%20Sims%22,%20%22Albert%20Keller%22,%20%22Lori%20Ortiz%22,%20%22Virginia%20Henry%22,%20%22Samuel%20Green%22,%20%22Judith%20Cole%22,%20%22Ethan%20Castillo%22,%20%22Angela%20Ellis%22,%0A%20%20%20%20%22Amy%20Reid%22,%20%22Jason%20Brewer%22,%20%22Aaron%20Clark%22,%20%22Aaron%20Elliott%22,%20%22Doris%20Herrera%22,%20%22Howard%20Castro%22,%20%22Kenneth%20Davis%22,%20%22Austin%20Spencer%22,%0A%20%20%20%20%22Jonathan%20Marshall%22,%20%22Phillip%20Nelson%22,%20%22Julia%20Guzman%22,%20%22Robert%20Hansen%22,%20%22Kevin%20Anderson%22,%20%22Gerald%20Arnold%22,%20%22Austin%20Castro%22,%20%22Zachary%20Moore%22,%0A%20%20%20%20%22Joseph%20Cooper%22,%20%22Barbara%20Black%22,%20%22Albert%20Mendez%22,%20%22Marie%20Lane%22,%20%22Jacob%20Nichols%22,%20%22Virginia%20Marshall%22,%20%22Aaron%20Miller%22,%20%22Linda%20Harvey%22,%0A%20%20%20%20%22Christopher%20Morris%22,%20%22Emma%20Fields%22,%20%22Scott%20Guzman%22,%20%22Olivia%20Alexander%22,%20%22Kelly%20Garrett%22,%20%22Jesse%20Hanson%22,%20%22Henry%20Wong%22,%20%22Billy%20Vasquez%22,%0A%20%20%20%20%22Larry%20Ramirez%22,%20%22Bryan%20Brooks%22,%20%22Alan%20Berry%22,%20%22Nicole%20Powell%22,%20%22Stephen%20Bowman%22,%20%22Eric%20Hughes%22,%20%22Elizabeth%20Obrien%22,%20%22Timothy%20Ramos%22,%0A%20%20%20%20%22Michelle%20Russell%22,%20%22Denise%20Ruiz%22,%20%22Sean%20Carter%22,%20%22Amanda%20Barnett%22,%20%22Kathy%20Black%22,%20%22Terry%20Gutierrez%22,%20%22John%20Jensen%22,%20%22Grace%20Sanchez%22,%0A%20%20%20%20%22Tiffany%20Harvey%22,%20%22Jacqueline%20Sims%22,%20%22Wayne%20Lee%22,%20%22Roy%20Foster%22,%20%22Joyce%20Hart%22,%20%22Joseph%20Russell%22,%20%22Harold%20Washington%22,%20%22Beverly%20Cox%22,%0A%20%20%20%20%22Nicole%20Morales%22,%20%22Anna%20Carpenter%22,%20%22Jesse%20Ray%22,%20%22Ann%20Snyder%22,%20%22Mark%20Diaz%22,%20%22Elizabeth%20Harper%22,%20%22Andrew%20Guerrero%22,%20%22Cheryl%20Silva%22,%0A%20%20%20%20%22Michelle%20Hudson%22,%20%22Jeffrey%20Santos%22,%20%22Victoria%20Vasquez%22,%20%22Matthew%20Meyer%22,%20%22Jacob%20Murray%22,%20%22Jose%20Munoz%22,%20%22Edward%20Howell%22,%20%22Vincent%20Hunter%22,%0A%20%20%20%20%22Daniel%20Walters%22,%20%22Samantha%20Obrien%22,%20%22Laura%20Elliott%22,%20%22Richard%20Olson%22,%20%22Daniel%20Graham%22,%20%22Carol%20Lee%22,%20%22Grace%20Sullivan%22,%20%22Nancy%20Rodriguez%22,%0A%20%20%20%20%22Tyler%20Tran%22,%20%22Crystal%20Shaw%22,%20%22Madison%20Allen%22,%20%22Ralph%20Sims%22,%20%22Joe%20Jenkins%22,%20%22Dennis%20Ray%22,%20%22Arthur%20Davidson%22,%20%22Victoria%20Allen%22,%20%22Arthur%20Jackson%22,%0A%20%20%20%20%22Joan%20Thomas%22,%20%22Daniel%20Hopkins%22,%20%22Gloria%20Hicks%22,%20%22Danielle%20Price%22,%20%22Craig%20Keller%22,%20%22Alan%20Morgan%22,%20%22Gregory%20Silva%22,%20%22Samantha%20Kelly%22,%0A%20%20%20%20%22Rachel%20Williamson%22,%20%22Bruce%20Garrett%22,%20%22Jacob%20Smith%22,%20%22Kathleen%20Nichols%22,%20%22Sarah%20Long%22,%20%22Carol%20Pearson%22,%20%22Virginia%20Mendez%22,%20%22Judy%20Valdez%22,%0A%20%20%20%20%22Jason%20Garza%22,%20%22Brenda%20Fowler%22,%20%22Karen%20Edwards%22,%20%22Alexander%20Anderson%22,%20%22Pamela%20Wallace%22,%20%22Ruth%20Howell%22,%20%22Walter%20Hernandez%22,%20%22George%20Lucas%22,%0A%20%20%20%20%22Samantha%20Long%22,%20%22Margaret%20Garza%22,%20%22Kathleen%20Schultz%22,%20%22Frances%20Guerrero%22,%20%22Amber%20Meyer%22,%20%22Rachel%20Morales%22,%20%22Teresa%20Curtis%22,%20%22Heather%20Bell%22,%0A%20%20%20%20%22Grace%20Johnson%22,%20%22Melissa%20King%22,%20%22Zachary%20Cook%22,%20%22Carol%20Schultz%22,%20%22Jane%20Beck%22,%20%22Karen%20Stone%22,%20%22Roger%20Brooks%22,%20%22Carolyn%20Fuller%22,%20%22Nicholas%20Coleman%22,%0A%20%20%20%20%22William%20Bishop%22,%20%22Christine%20May%22,%20%22Linda%20George%22,%20%22Jean%20Meyer%22,%20%22Cheryl%20Armstrong%22,%20%22Danielle%20Welch%22,%20%22Amanda%20Graham%22,%20%22Janice%20Carter%22,%0A%20%20%20%20%22Catherine%20Brooks%22,%20%22Lawrence%20Gonzalez%22,%20%22Amy%20Russell%22,%20%22Eugene%20Jimenez%22,%20%22Joseph%20Carlson%22,%20%22Peter%20McCoy%22,%20%22Jerry%20Washington%22,%20%22Carolyn%20Obrien%22,%0A%20%20%20%20%22Mark%20Walker%22,%20%22Stephanie%20Hoffman%22,%20%22Julie%20Pena%22,%20%22Karen%20Curtis%22,%20%22Bryan%20Cruz%22,%20%22Madison%20Shaw%22,%20%22Rachel%20Graham%22,%20%22Susan%20Simpson%22,%20%22Andrea%20Harrison%22,%0A%20%20%20%20%22Bryan%20Miller%22,%20%22Vincent%20McDonald%22,%20%22Jesse%20McCoy%22,%20%22Christine%20Ramos%22,%20%22Dorothy%20Riley%22,%20%22Karen%20Warren%22,%20%22Ashley%20Weber%22,%20%22Judith%20Robinson%22,%0A%20%20%20%20%22Alan%20Mendez%22,%20%22Donna%20Medina%22,%20%22Helen%20Lane%22,%20%22Douglas%20Clark%22,%20%22Brenda%20Romero%22,%20%22Doris%20Wells%22,%20%22Patrick%20Howell%22,%20%22Doris%20Lawrence%22,%20%22Harry%20Jacobs%22,%0A%20%20%20%20%22Phillip%20Rose%22,%20%22Deborah%20Patel%22,%20%22Bryan%20Day%22,%20%22Rachel%20Butler%22,%20%22Paul%20Butler%22,%20%22Judy%20Knight%22,%20%22Willie%20Wallace%22,%20%22Phillip%20Anderson%22,%20%22Emma%20Black%22,%0A%20%20%20%20%22Lisa%20Lynch%22,%20%22Kimberly%20Freeman%22,%20%22Ronald%20West%22,%20%22Kathleen%20Harris%22,%20%22Martha%20Ruiz%22,%20%22Phillip%20Moreno%22,%20%22Robert%20Vargas%22,%20%22Jesse%20Diaz%22,%20%22Christine%20Weber%22,%0A%20%20%20%20%22Karen%20Stanley%22,%20%22Theresa%20Edwards%22,%20%22Kathryn%20Chavez%22,%20%22Sarah%20Rios%22,%20%22Danielle%20Wong%22,%20%22Kathy%20Carr%22,%20%22Joan%20Diaz%22,%20%22Albert%20Walters%22,%0A%20%20%20%20%22Denise%20Kim%22,%20%22Katherine%20Pearson%22,%20%22Diana%20Richardson%22,%20%22Harry%20Ford%22,%20%22Eric%20Mills%22,%20%22Sean%20Hicks%22,%20%22Joe%20Brown%22,%20%22Judith%20Morgan%22,%20%22Harry%20Hunter%22,%0A%20%20%20%20%22Matthew%20Bryant%22,%20%22Tyler%20Rose%22,%20%22Mildred%20Delgado%22,%20%22Emma%20Peters%22,%20%22Walter%20Delgado%22,%20%22Lauren%20Gilbert%22,%20%22Christopher%20Romero%22%0A%20%20];%0A%0A%20%20users%20=%20users.map(function%20(fullName)%20%7B%0A%20%20%20%20var%20userName%20=%20fullName.replace(/%20/g,%20”).toLowerCase();%0A%0A%20%20%20%20return%20%7B%0A%20%20%20%20%20%20id:%20userName,%0A%20%20%20%20%20%20name:%20userName,%0A%20%20%20%20%20%20fullName:%20fullName%0A%20%20%20%20%7D%0A%20%20%7D);%0A%0A%20%20users%20=%20users.filter(function%20(user)%20%7B%0A%20%20%20%20return%20user.name.indexOf(query.term)%20===%200%0A%20%20%7D);%0A%0A%20%20success(users)%0A%7D;%0A%0Avar%20table%20=%20’%3Cp%3EThis%20table%20uses%20features%20of%20the%20non-editable%20plugin%20to%20make%20the%20text%20in%20the%3Cbr%20/%3E%3Cstrong%3Etop%20row%3C/strong%3E%20and%20%3Cstrong%3Eleft%20column%3C/strong%3E%20uneditable.%3C/p%3E’%20+%0A’%20%20%20%20%3Ctable%20style=%22width:%2060%25;%20border-collapse:%20collapse;%22%20border=%221%22%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3Ccaption%20class=%22mceNonEditable%22%3EEphox%20Sales%20Analysis%3C/caption%3E%20’%20+%0A’%20%20%20%20%20%20%20%3Ctbody%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%3Ctr%20class=%22mceNonEditable%22%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cth%20style=%22width:%2040%25;%22%3E %3C/th%3E%3Cth%20style=%22width:%2015%25;%22%3EQ1%3C/th%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cth%20style=%22width:%2015%25;%22%3EQ2%3C/th%3E%3Cth%20style=%22width:%2015%25;%22%3EQ3%3C/th%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cth%20style=%22width:%2015%25;%22%3EQ4%3C/th%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%3C/tr%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%3Ctr%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctd%20class=%22mceNonEditable%22%3EEast%20Region%3C/td%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E100%3C/td%3E%20%3Ctd%3E110%3C/td%3E%20%3Ctd%3E115%3C/td%3E%20%3Ctd%3E130%3C/td%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%3C/tr%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%3Ctr%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctd%20class=%22mceNonEditable%22%3ECentral%20Region%3C/td%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E100%3C/td%3E%20%3Ctd%3E110%3C/td%3E%20%3Ctd%3E115%3C/td%3E%20%3Ctd%3E130%3C/td%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%3C/tr%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%3Ctr%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctd%20class=%22mceNonEditable%22%3EWest%20Region%3C/td%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctd%3E100%3C/td%3E%20%3Ctd%3E110%3C/td%3E%20%3Ctd%3E115%3C/td%3E%20%3Ctd%3E130%3C/td%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%3C/tr%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3C/tbody%3E%20’%20+%0A’%20%20%20%20%3C/table%3E’;%0A%0Avar%20table2%20=%20’%3Cdiv%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3Cp%3E’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20Templates%20are%20a%20great%20way%20to%20help%20content%20authors%20get%20started%20creating%20content.%20%20You%20can%20define%20the%20HTML%20for%20the%20template%20and%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20then%20when%20the%20author%20inserts%20the%20template%20they%20have%20a%20great%20start%20towards%20creating%20content!%20’%20+%0A’%20%20%20%20%20%20%20%20%3C/p%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3Cp%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20In%20this%20example%20we%20create%20a%20simple%20table%20for%20providing%20product%20details%20for%20a%20product%20page%20on%20your%20web%20site.%20%20The%20headings%20are%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20made%20non-editable%20by%20loading%20the%20non-editable%20plugin%20and%20placing%20the%20correct%20class%20on%20the%20appropriate%20table%20cells.%20’%20+%0A’%20%20%20%20%20%20%20%20%3C/p%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3Ctable%20style=%22width:90%25;%20border-collapse:%20collapse;%22%20border=%221%22%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3Ctbody%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3Ctr%20style=%22height:%2030px;%22%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%3Cth%20class=%22mceNonEditable%22%20style=%22width:40%25;%20text-align:%20left;%22%3EProduct%20Name:%3C/td%3E%3Ctd%20style=%22width:60%25;%22%3E%7Binsert%20name%20here%7D%3C/td%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3C/tr%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3Ctr%20style=%22height:%2030px;%22%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%3Cth%20class=%22mceNonEditable%22%20style=%22width:40%25;%20text-align:%20left;%22%3EProduct%20Description:%3C/td%3E%3Ctd%20style=%22width:60%25;%22%3E%7Binsert%20description%20here%7D%3C/td%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3C/tr%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3Ctr%20style=%22height:%2030px;%22%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%20%20%20%20%3Cth%20class=%22mceNonEditable%22%20style=%22width:40%25;%20text-align:%20left;%22%3EProduct%20Price:%3C/td%3E%3Ctd%20style=%22width:60%25;%22%3E%7Binsert%20price%20here%7D%3C/td%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3C/tr%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3C/tbody%3E%20’%20+%0A’%20%20%20%20%20%20%20%20%3C/table%3E%20’%20+%0A’%20%20%20%20%3C/div%3E%20′;%0A%0Avar%20demoBaseConfig%20=%20%7B%0A%20%20selector:%20%22textarea#classic%22,%0A%20%20width:%20755,%0A%20%20height:%20500,%0A%20%20resize:%20false,%0A%20%20autosave_ask_before_unload:%20false,%0A%20%20mentions_fetch:%20mentionsFetchFunction,%0A%20%20powerpaste_allow_local_images:%20true,%0A%20%20plugins:%20[%0A%20%20%20%20%22a11ychecker%20advcode%20advlist%20anchor%20autolink%20codesample%20colorpicker%20fullscreen%20help%20image%20imagetools%20tinydrive%22,%0A%20%20%20%20%22%20lists%20link%20media%20noneditable%20powerpaste%20preview%22,%0A%20%20%20%20%22%20searchreplace%20table%20template%20textcolor%20tinymcespellchecker%20visualblocks%20wordcount%20mentions%22%0A%20%20],%0A%20%20templates:%20[%0A%20%20%20%20%7B%0A%20%20%20%20%20%20title:%20%22Non-editable%20Example%22,%0A%20%20%20%20%20%20description:%20%22Non-editable%20example.%22,%0A%20%20%20%20%20%20content:%20table%0A%20%20%20%20%7D,%0A%20%20%20%20%7B%0A%20%20%20%20%20%20title:%20%22Simple%20Table%20Example%22,%0A%20%20%20%20%20%20description:%20%22Simple%20Table%20example.%22,%0A%20%20%20%20%20%20content:%20table2%0A%20%20%20%20%7D%0A%20%20],%0A%20%20toolbar:%0A%20%20%20%20%22insertfile%20a11ycheck%20undo%20redo%20%7C%20bold%20italic%20%7C%20forecolor%20backcolor%20%7C%20template%20codesample%20%7C%20alignleft%20aligncenter%20alignright%20alignjustify%20%7C%20bullist%20numlist%20%7C%20link%20image%20tinydrive%22,%0A%20%20content_css:%20[%0A%20%20%20%20%22//fonts.googleapis.com/css?family=Lato:300,300i,400,400i%22,%0A%20%20%20%20%22//www.tiny.cloud/css/content-standard.min.css%22%0A%20%20],%0A%20%20spellchecker_dialog:%20true,%0A%20%20spellchecker_whitelist:%20[‘Ephox’,%20’Moxiecode’],%0A%20%20tinydrive_demo_files_url:%20’/docs/demo/tiny-drive-demo/demo_files.json’,%0A%20%20tinydrive_token_provider:%20function%20(success,%20failure)%20%7B%0A%20%20%20%20success(%7B%20token:%20’eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJqb2huZG9lIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.Ks_BdfH4CWilyzLNk8S2gDARFhuxIauLa8PwhdEQhEo’%20%7D);%0A%20%20%7D%0A%7D;%0A%0Atinymce.init(demoBaseConfig);%0A%0A”); var css = “”; var tabNames = [“run”,”html”,”js”]; /* Note: there are some other fields we could populate here to polish this. */ /* See: https://blog.codepen.io/documentation/api/prefill/ */ var data = { title: “TinyMCE Example”, description: ”, html: html, css: css, css_external: ‘https://www.tiny.cloud/css/codepen.min.css’, js: js, js_external: ‘https://cloud.tinymce.com/5/tinymce.min.js?apiKey=qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc’ }; document.getElementById(“codepen_data_classic”).value = JSON.stringify(data); /* TODO: */ var tabs = tabNames.map(function(t) { return { tab: document.getElementById(“codepen_tab_” + t + “_” + id), pane: document.getElementById(“codepen_pane_” + t + “_” + id) }; }); tabs.forEach(function(t) { t.tab.onclick = function(e) { tabs.forEach(function(tt) { tt.pane.style.display = t === tt ? ‘block’ : ‘none’; tt.tab.className = t === tt ? ‘codepen_tab_selected’ : ‘codepen_tab_deselected’; }); e.preventDefault(); }; }); if (document.getElementById(“codepen_tab_codepen_” + id) !== null) { document.getElementById(“codepen_tab_codepen_” + id).onclick = function() { document.getElementById(“codepen_form_” + id).submit(); }; } })();

您暂时不能评论!

管理员开启了需要登录才能够评论,你可以免费注册一个本站的账号。

还没有评论!

目前还没有任何评论,快来抢沙发吧!