Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.


              <div class="header">
  <a href="" target="_blank">
   <img id="logo" src="" alt="">
      Create your own Google Docs with Wave + Quill

<div class="editors">
  <div class="quillEditor">
    <div id="quillEditor1Toolbar"> </div>
    <div id="quillEditor1"> </div>
  <div class="quillEditor">
    <div id="quillEditor2"> </div>


              .editors {
  display: flex;
  justify-content: space-around;

.header {
  width: 400px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 25px;

  height: 600px;
a {
  width: 100px;
  margin-left: auto;
  margin-right: auto;
  display: block;

#logo {
  height: 65px;
  text-align: center;




const toolbar = [
              [{'size': [] }], 
              [ 'bold', 'italic', 'underline', 'strike' ],
              [{ 'color': [] }, { 'background': [] }], 
              [{ 'script': 'super' }, { 'script': 'sub' }], 
              [{ 'header': '1' }, { 'header': '2' }, 'blockquote', 'code-block' ],
              [{ 'list': 'ordered' }, { 'list': 'bullet'}, { 'indent': '-1' }, { 'indent': '+1' }], 
              [ 'direction', { 'align': [] }], 
              [ 'link', 'image', 'video', 'formula' ],
              [ 'clean' ]

function guid() {
  function s4() {
    return Math.floor((1 + Math.random()) * 0x10000)
  return (
    s4() + s4() + s4() + s4() + s4() + s4() + s4() + s4()

var docId = guid();

//Instantiate QuillJS editor
var editor1 = new Quill("#quillEditor1", { 
  modules: { 
   'toolbar': toolbar }, theme: "snow" });

var editor2 = new Quill("#quillEditor2",{ 
  modules: { 
   'toolbar': toolbar },  theme: "snow" });

//Wave configuration
var config = {
  app: "quilljs",
  editor: editor1,
  docId: docId,
  username: "Sam"

config.domain = ""; //domain where coediting is enabled
config.apiKey = "8b1e21f3-6534-4877-9090-dbb9e61993eb"; // this is your actual API Key

//start coediting
var codox = new Codox();

var codox2 = new Codox();
codox2.start(Object.assign({}, config, {editor: editor2, username: "frodo"}));