Skip to content

Instantly share code, notes, and snippets.

@scottmessinger
Last active September 7, 2016 16:36
Show Gist options
  • Save scottmessinger/2550d4a2f700dcfd89f53048c7fd0c8e to your computer and use it in GitHub Desktop.
Save scottmessinger/2550d4a2f700dcfd89f53048c7fd0c8e to your computer and use it in GitHub Desktop.
Backspace Bug
Video:
http://cloudapp.commoncurriculum.com/2S2a1U310q3c/Screen%20Recording%202016-09-07%20at%2012.29%20PM.mov
Browser:
Safari Version 9.1.2 (11601.7.7)
{
"ops": [
{
"insert": "Quill Rich Text Editor"
},
{
"attributes": {
"align": "center",
"header": 1
},
"insert": "\n"
},
{
"insert": "\nQuill is a free, "
},
{
"attributes": {
"link": "https://github.com/quilljs/quill/"
},
"insert": "open source"
},
{
"insert": " WYSIWYG editor built for the modern web. With its "
},
{
"attributes": {
"link": "http://quilljs.com/docs/modules/"
},
"insert": "modular architecture"
},
{
"insert": " and "
},
{
"attributes": {
"list": "bullet"
},
"insert": "\n"
},
{
"attributes": {
"indent": 2,
"list": "bullet"
},
"insert": "\n"
},
{
"insert": "Expressive "
},
{
"attributes": {
"link": "http://quilljs.com/docs/api/"
},
"insert": "API"
},
{
"insert": " you can completely customize it to fulfill your needs.\n\n"
},
{
"attributes": {
"height": "238",
"width": "560",
"align": "center"
},
"insert": {
"video": "https://www.youtube.com/embed/QHH3iSeDBLo?showinfo=0"
}
},
{
"insert": "\n\nGetting Started is Easy"
},
{
"attributes": {
"align": "center",
"header": 2
},
"insert": "\n"
},
{
"insert": "\n// <link href=\"https://cdn.quilljs.com/1.0.2/quill.snow.css\" rel=\"stylesheet\">"
},
{
"attributes": {
"code-block": true
},
"insert": "\n"
},
{
"insert": "// <script src=\"https://cdn.quilljs.com/1.0.2/quill.min.js\" type=\"text/javascript\"></script>"
},
{
"attributes": {
"code-block": true
},
"insert": "\n\n"
},
{
"insert": "var quill = new Quill('#editor', {"
},
{
"attributes": {
"code-block": true
},
"insert": "\n"
},
{
"insert": " modules: {"
},
{
"attributes": {
"code-block": true
},
"insert": "\n"
},
{
"insert": " toolbar: '#toolbar'"
},
{
"attributes": {
"code-block": true
},
"insert": "\n"
},
{
"insert": " },"
},
{
"attributes": {
"code-block": true
},
"insert": "\n"
},
{
"insert": " theme: 'snow'"
},
{
"attributes": {
"code-block": true
},
"insert": "\n"
},
{
"insert": "});"
},
{
"attributes": {
"code-block": true
},
"insert": "\n\n"
},
{
"insert": "// Open your browser's developer console to try out the API!"
},
{
"attributes": {
"code-block": true
},
"insert": "\n"
},
{
"insert": "\n\n"
},
{
"attributes": {
"bold": true
},
"insert": "Built with"
},
{
"attributes": {
"align": "center"
},
"insert": "\n"
},
{
"insert": " "
},
{
"insert": {
"formula": "x^2 + (y - \\sqrt[3]{x^2})^2 = 1"
}
},
{
"insert": " "
},
{
"attributes": {
"align": "center"
},
"insert": "\n"
},
{
"insert": "\n"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment