Skip to content

Commit

Permalink
Move to 0.3.2 in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
YoranBrondsema committed Jul 8, 2020
1 parent 3d96e5a commit 12c9973
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ optionally a Mobiledoc to load. For example:

```js
const simpleMobiledoc = {
version: "0.3.1",
version: "0.3.2",
markups: [],
atoms: [],
cards: [],
Expand Down Expand Up @@ -121,7 +121,7 @@ document's `<head>`:

### Editor API

* `editor.serialize(version="0.3.1")` - serialize the current post for persistence. Returns
* `editor.serialize(version="0.3.2")` - serialize the current post for persistence. Returns
Mobiledoc.
* `editor.destroy()` - teardown the editor event listeners, free memory etc.
* `editor.disableEditing()` - stop the user from being able to edit the
Expand Down
6 changes: 2 additions & 4 deletions tests/acceptance/cursor-movement-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ test('left arrow when at the head of an atom moves the cursor left off the atom'
marker('cc')
])
]);
// TODO just make 0.3.1 default
}, '0.3.1');
});
editor = new Editor({mobiledoc, atoms});
editor.render(editorElement);

Expand Down Expand Up @@ -285,8 +284,7 @@ test('right arrow when at the head of an atom moves the cursor across the atom',
marker('cc')
])
]);
// TODO just make 0.3.1 default
}, '0.3.1');
});
editor = new Editor({mobiledoc, atoms});
editor.render(editorElement);

Expand Down

0 comments on commit 12c9973

Please sign in to comment.