Commits on Jul 16, 2016
  1. Explicit attributes should override defaults

    Fixes #203
    committed Jul 16, 2016
Commits on Jul 14, 2016
  1. Ensure focus after paste

    committed Jul 14, 2016
Commits on Jul 9, 2016
  1. Merge pull request #211 from InteractiveIntelligence/Path-contains-fo…

    …rmat-values
    
    Update README and Tests
    committed on GitHub Jul 9, 2016
Commits on Jul 8, 2016
  1. @akauffmanGG

    reset build/squire.js

    akauffmanGG committed Jul 8, 2016
  2. @akauffmanGG
Commits on Jul 7, 2016
  1. @akauffmanGG
  2. @akauffmanGG

    Merge remote-tracking branch 'refs/remotes/neilj/master' into Path-co…

    …ntains-format-values
    
    # Conflicts:
    #	build/squire-raw.js
    #	build/squire.js
    #	source/Node.js
    akauffmanGG committed Jul 7, 2016
  3. @akauffmanGG

    Update getPath tests

    akauffmanGG committed Jul 7, 2016
  4. @akauffmanGG

    Update README

    akauffmanGG committed Jul 7, 2016
  5. Fix whitespace

    committed Jul 7, 2016
  6. @akauffmanGG

    Path contains format values

    Add values of font size, font face, and color to the path. This allows
    us to distinguish path changes to different formats.
    akauffmanGG committed with Jul 6, 2016
Commits on Jul 6, 2016
  1. @akauffmanGG

    Path contains format values

    Add values of font size, font face, and color to the path. This allows
    us to distinguish path changes to different formats.
    akauffmanGG committed Jul 6, 2016
Commits on Jun 30, 2016
  1. Merge pull request #208 from eightyeight/patch-2

    Make the existence of the NPM package more obvious
    committed on GitHub Jun 30, 2016
Commits on Jun 29, 2016
  1. @eightyeight

    Add link to NPM package in readme

    eightyeight committed on GitHub Jun 29, 2016
Commits on Jun 28, 2016
  1. Release v1.6.0

    committed Jun 28, 2016
Commits on Jun 27, 2016
  1. Don't disable restore selection on input

    The only time we don't want to restore selection is if the user explicitly
    changes it, by clicking/touching a specific cursor point.
    
    Fixes formatting commands in IE11, where the mutation event first between
    calling editor.focus() and the focus event actually firing, rather than
    after the focus event as in other browsers.
    committed Jun 27, 2016
Commits on Jun 16, 2016
Commits on Jun 10, 2016
  1. Enforce sane focus/blur events.

    Because focus/blur events are fired synchonously, browsers can get confused if
    UI code starts focusing other elements while inside a focus/blur handler, and
    end up firing events in the wrong order which can cause infinite loops.
    
    This change ensures we only get a focus/blur event when they really are
    happening, and you always get one then the other.
    committed Jun 10, 2016
Commits on Jun 8, 2016
  1. Interpret null value for set font/size/colour methods correctly.

    Removes any current formatting of the given type.
    committed Jun 8, 2016
Commits on Jun 7, 2016
Commits on Jun 6, 2016
  1. @akauffmanGG

    Limit the undo stack size

    Add an undo configuration.
    If the document is larger than the configured threshold, then limit the
    number of undo states that can be saved to the configured amount.
    Defaults to no limit.
    
    Merged for #200
    akauffmanGG committed with May 31, 2016
  2. Sanitise pasted HTML if DOMPurify library present.

    This protects against malicious HTML being added to the clipboard, and also
    removes unwanted content before insertion.
    
    DOMPurify can be found at https://github.com/cure53/DOMPurify
    committed Jun 6, 2016
Commits on May 26, 2016
  1. @akauffmanGG

    Cleanup P and Underline tags

     node.
    akauffmanGG committed with May 11, 2016
  2. Add undo checkpoint on drop.

    Resolves #188.
    committed May 26, 2016
  3. Use selectionchange event if available.

    Fixes #194.
    committed May 26, 2016
  4. Don't merge <a> tags.

    Fixes #198
    committed May 26, 2016
Commits on May 25, 2016
Commits on May 19, 2016
  1. @akauffmanGG

    Fix block boundary issue

    If the node is at the end of the document, this method can fail with
    'TypeError: Cannot read property 'previousSibling' of null'
    akauffmanGG committed with May 16, 2016
Commits on May 18, 2016
  1. Always save selection on blur.

    Hopefully fixes #194
    committed May 18, 2016