Skip to content

Conversation

@bantic
Copy link
Collaborator

@bantic bantic commented Mar 24, 2016

  • Add editor#serializeTo(format)
  • Add editor#serializePost(post, format)
  • Add deprecate helper
  • Add post#trimTo(range) and deprecate post#cloneRange.
    cloneRange returns a mobiledoc, which is confusing.
  • Enable all copy-paste acceptance tests in IE. They all now use
    the copy/paste mocks from the test helpers.
  • Add an IE-compatibility test for getContentFromPasteEvent to
    ensure it will use window.clipboardData
  • Add an IE-compatibility test for setClipboardData to
    ensure it will use window.clipboardData
  • Remove now-unused supportsStandardClipboardAPI test helper

cc @YoranBrondsema this turns on all tests in all environments. Adds IE-compatibility tests for the two methods that may interact directly with window.clipboardData.

  * Remove now-unused `supportsStandardClipboardAPI` test helper
  * Add `editor#serializeTo(format)`
  * Add `editor#serializePost(post, format)`
  * Add deprecate helper
  * Add `post#trimTo(range)` and deprecate `post#cloneRange`.
   `cloneRange` returns a mobiledoc, which is confusing.
  * Enable all copy-paste acceptance tests in IE. They all now use
    the copy/paste mocks from the test helpers.
  * Add an IE-compatibility test for `getContentFromPasteEvent` to
    ensure it will use `window.clipboardData`
  * Add an IE-compatibility test for `setClipboardData` to
    ensure it will use `window.clipboardData`
@bantic bantic merged commit 734b334 into master Mar 24, 2016
@bantic bantic deleted the cleanup-copy-paste branch March 24, 2016 17:43
@bantic
Copy link
Collaborator Author

bantic commented Mar 24, 2016

released in v0.9.1

@YoranBrondsema
Copy link
Collaborator

@bantic Sorry for my late reply, was on a holiday last week. This looks great, thanks for enabling all tests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants