Shawn Erquhart
1a7c999f12
simplify date time initial value set
2017-11-27 22:25:00 -05:00
Benaiah Mischenko
b5b7fab2a7
Coerce includeTime to a boolean
2017-11-27 22:25:00 -05:00
Benaiah Mischenko
d6c0505c49
Fixes for date formatting PR
2017-11-27 22:25:00 -05:00
Mathias Biilmann Christensen
688332410c
Keep old behevior if no format attribute is set on date widgets
2017-11-27 22:25:00 -05:00
Mathias Biilmann Christensen
704f1144ed
Make date and datetime widget respect format attribute
2017-11-27 22:25:00 -05:00
Shawn Erquhart
5647b5c3c2
update slate snapshots
2017-11-27 12:08:40 -05:00
Shawn Erquhart
9342c9c064
fix slate migration bugs
2017-11-27 12:08:40 -05:00
Shawn Erquhart
1bbaebf6d5
disable slate-edit-table plugin until updated
2017-11-27 12:08:40 -05:00
Shawn Erquhart
63d2b09b09
Update Slate to 0.29.0
2017-11-27 12:08:40 -05:00
Shawn Erquhart
c9e97b5c7e
Update Slate to 0.28.0
2017-11-27 12:08:40 -05:00
Shawn Erquhart
ff0b8d4ca8
Update Slate to 0.27.0
2017-11-27 12:08:40 -05:00
Shawn Erquhart
9569f18ee4
add private media library for integrations
2017-11-19 02:13:27 -05:00
Shawn Erquhart
2a9697db0a
fix image filtering case sensitivity
2017-11-15 12:42:03 -05:00
Shawn Erquhart
a4ff229e37
fix ControlHOC ref for redux container widgets
...
If a widget uses `connect` to receive state updates from the store,
`ControlHOC` can no longer get the control instance ref. This fix
checks for this case and uses a connect option to obtain the wrapped
control ref.
2017-11-11 21:42:15 -05:00
Shawn Erquhart
b3af4e86cb
add generic error boundary, apply to preview iframe
2017-11-11 10:35:03 -05:00
Benaiah Mischenko
e00c396697
Add unselected option to select widget when no default is set
2017-11-11 10:33:40 -05:00
Jinksi
7d1998c3d6
Add background-color to ListControl
2017-11-08 16:36:45 -05:00
Shawn Erquhart
6b45a46a39
add media library
...
* rebase editorial workflow pull requests when behind
* fix async/await transpilation
* add media library pagination
* switch media library to grid layout
* ensure that only cms branches can be force updated
2017-11-08 15:00:28 -05:00
pjsier
2a4af64a71
Turn off style toggle on Enter
2017-11-07 14:09:56 -05:00
Eric Jinks
b2d93ef729
Add ScrollSync Button to Preview UI ( #693 )
...
* Add ScrollSync Button
* Create <ToggleButton /> component && update CSS
* Swap Icons && fix formatting
2017-10-26 12:26:42 -07:00
Caleb
daa5395346
Fix tests for React 16.
2017-10-26 14:04:31 -04:00
Aquib Master
c97856c71d
Flash an error on save when required fields are missed
...
- Add error type constants
- Flash an error message when the user saves without completing all required fields
- Surface presence errors
2017-10-26 13:58:37 -04:00
Benaiah Mischenko
b501db7239
Fix ListControl collapsing bug ( #738 )
2017-10-25 16:28:34 -07:00
Caleb
b9fdaec8b7
Fix history warning when opening entry.
...
When clicking on a entry in the listing, a console error would be logged
by `history` (react-router): "Hash history cannot push state; it is
ignored". This was caused because using `bind` in the click handler
caused the return value to be passed to the `history.push` as the second
param. This was ignored in react-router v2, but gives a warning in v4.
2017-10-24 20:33:37 -06:00
Shawn Erquhart
2abdd34502
fix list object styling
2017-10-24 14:44:13 -04:00
Benaiah Mischenko
040e654382
Make collapsing persist on correct item when sorting
2017-10-24 14:44:13 -04:00
Benaiah Mischenko
f649e8cad6
Migrate ListControl from react-sortable to react-sortable-hoc
2017-10-24 14:44:13 -04:00
Caleb
cd72e1d9dd
Remove react-dnd
wrapper lib.
...
`react-simple-dnd` is just a wrapper for `react-dnd`, and it doesn't
support React 16. This PR changes to using the underlying library
directly.
2017-10-23 11:19:58 -04:00
Caleb
14e29e9779
Use Lists for menu items, instead of maps or sequences.
...
Maps are actually invalid, and lists make more sense than sequences.
2017-10-20 09:57:24 -04:00
Caleb
024c43a8c8
Upgrade UUID module. ( #682 )
2017-10-18 13:02:16 -04:00
Benaiah Mischenko
7dd8ca13c4
Migrate to plain CSS (remove CSS modules) ( #659 )
...
* Migrate to plain CSS (remove CSS modules)
Change `prefixer` to a function instead of a proxy
* Switch prefix to `nc`
* Replace prefixer with literal class names
* Remove prefixer
* Fix migration errors
* fix compose migrations
* Remove unnecessary theme imports
* Remove old CSS import
* fix sticky toolbar positioning
* update to cssnano v4 so preset is used
* fix css pseudo selectors
* update lockfile
2017-10-18 12:29:38 -04:00
Caleb
dbe96d33f9
Upgrade to React Router v4 ( #667 )
...
* Upgrade to React Router v4
* Fix pages not change when the URL was changed.
This issue is due to the Redux `connect` wrapper around `<App/>`.
`connect` diffs changes in regular props to know when to update the
component, but doesn't check context props like `location`.
See
https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/blocked-updates.md .
* Update to new `history` methods.
2017-10-12 21:10:43 -04:00
Shawn Erquhart
c132df9f18
force focus back to editor after undo/redo
2017-10-05 10:24:15 -07:00
Shawn Erquhart
1cf7b74eb9
fix visual editor block closing
2017-10-05 10:24:15 -07:00
Shawn Erquhart
be4609e54d
trim trailing whitespace from markdown
2017-10-05 10:24:15 -07:00
Shawn Erquhart
852b6f397c
ensure against trailing shortcodes in visual editor
2017-10-05 10:24:15 -07:00
Shawn Erquhart
d8a7608a25
fix bugs due to Slate "nodes" properties being boolean
2017-10-05 10:24:15 -07:00
Shawn Erquhart
dd9d49117a
do not squash references without definitions
2017-10-05 10:24:15 -07:00
Shawn Erquhart
9fbdbf5171
stop markdown shortcodes from being escaped
2017-10-05 10:24:15 -07:00
Shawn Erquhart
a89427dd8b
add editor rule to ensure plain text in code blocks
2017-10-05 10:24:15 -07:00
Shawn Erquhart
70e8eae599
migrate Text.createFromString to Text.create
2017-10-04 15:48:33 -04:00
Shawn Erquhart
39f65476c3
migrate insertBlock empty block replacement
2017-10-04 15:48:33 -04:00
Shawn Erquhart
cd0254407e
migrate Block.create to specify children
2017-10-04 15:48:33 -04:00
Shawn Erquhart
a5c1bb2bff
migrate to new slate packages
2017-10-04 15:48:33 -04:00
Shawn Erquhart
a5b053e1c3
remove deprecated terse serialization option
2017-10-04 15:48:32 -04:00
Shawn Erquhart
99673ee3cc
support code blocks with multiple text nodes
2017-10-04 15:48:32 -04:00
Shawn Erquhart
bbf165d3b0
migrate text nodes to use ranges
2017-10-04 15:48:32 -04:00
Shawn Erquhart
7a219bb833
migrate from Raw serializer to fromJSON/toJSON
2017-10-04 15:48:32 -04:00
Shawn Erquhart
155a0f972e
migrate from onDocumentChange to onChange
2017-10-04 15:48:32 -04:00
Shawn Erquhart
2448ed918a
remove undo/redo override, fixed in 0.22
2017-10-04 15:48:32 -04:00