Taming Content Editable with Ember.js

Taming Content Editable with Ember.js

Gavin Joyce

May 15, 2015

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

35 slides
  1. The BOM The DOM Editor View Event Handling DOM Selection

    UI Coordinates Rendering Composer component
  2. The BOM Composer State BOM Selection Undo Stack Blocks The

    DOM Editor View Event Handling DOM Selection UI Coordinates Rendering Composer component
  3. Paragraph Composer State Block Selection Undo Stack Block List Item

    Ordered List Command • Backspace • Delete • Return • Sync • Insert Attribute • Insert Character • Insert Block • Paste • ...
  4. Blocks Paragraph text: “hello there” Entities Italic (0 -> 5)

    Bold (6 -> 14) Selection: 0:0:1 → 0:0:1
  5. Blocks Paragraph text: “hello there” Entities Italic (0 -> 5)

    Bold (6 -> 14) Selection: 0:0:2 → 0:0:9
  6. Blocks Paragraph text: “hello there” Entities Italic (0 -> 5)

    Bold (9 -> 14) Selection: 0:0:2 → 0:0:9
  7. Blocks Paragraph text: “hello there” Entities Italic (0 -> 5)

    Bold (2 -> 14) Selection: 0:0:2 → 0:0:9

More Decks by Gavin Joyce

Other Decks in Technology