201 Commits

Author SHA1 Message Date
Shawn Erquhart
1c0bb6a877 implement widget data serialization for rte perf 2017-08-25 16:24:13 -04:00
Shawn Erquhart
bc721337de set rte focus after toolbar click 2017-08-25 16:24:13 -04:00
Shawn Erquhart
22a8da11a4 fix rte link serialization 2017-08-25 16:24:13 -04:00
Shawn Erquhart
e682189410 only render editor page controls/previews on change 2017-08-25 16:24:13 -04:00
Shawn Erquhart
e01c077efb fix empty initial state for rte 2017-08-25 16:24:12 -04:00
Shawn Erquhart
9c869be8fa migrate visual editor from prosemirror to slate 2017-08-25 16:24:12 -04:00
Shawn Erquhart
49b3a62823 attempt prosemirror update, troubleshooting 2017-08-25 16:24:12 -04:00
Shawn Erquhart
e7ac3a7671 switch remark options to use gfm, fences 2017-08-25 16:24:12 -04:00
Shawn Erquhart
b293b235bb fix link creation in visual editor 2017-08-25 16:24:12 -04:00
Shawn Erquhart
bd767308cd fix visual editor tests, parse/serialize consistency 2017-08-25 16:24:12 -04:00
Shawn Erquhart
b22323201d handle raw editor html pastes with unified 2017-08-25 16:24:12 -04:00
Shawn Erquhart
b5e0be43f2 split off markdownToProseMirror plugin 2017-08-25 16:24:12 -04:00
Shawn Erquhart
361c3d5284 improve prosemirror parser, fix new doc creation 2017-08-25 16:24:12 -04:00
Shawn Erquhart
8bb18452e8 implement initial unified/remark preview update 2017-08-25 16:24:12 -04:00
Shawn Erquhart
5048c7ca1d convert editor component registry to Map 2017-08-25 16:24:12 -04:00
Shawn Erquhart
adcb215fbd replace remark with unified for docs and extensibility 2017-08-25 16:24:12 -04:00
Shawn Erquhart
514fbb30b8 render plugins on visual editor load 2017-08-25 16:24:12 -04:00
Shawn Erquhart
e401f7ef9b remove unrelated code style improvements 2017-08-25 16:24:12 -04:00
Shawn Erquhart
f93aa34105 fix rebase incongruencies 2017-08-25 16:24:12 -04:00
Kyle Mathews
8763666570 Update parser to support remaining node types + add inline styled text support 2017-08-25 16:24:12 -04:00
Kyle Mathews
0eb109cb73 Convert markdown-prosemirror parser/compiler to Remark 2017-08-25 16:24:12 -04:00
Damien Duhamel
1b3aec4ebf Add some comments 2017-07-25 10:28:35 +02:00
Damien Duhamel
4d2ed6b1ea Check editor value after update 2017-07-23 19:38:05 +02:00
Shawn Erquhart
324340135b lengthen relation search debounce to reduce lag 2017-07-10 15:01:01 -04:00
Drian Hillman
4c35e39a59 Refactors a portion to access this Data Structure more effectively 2017-07-03 20:37:19 -04:00
Drian Hillman
a8ebba2cf2 adds context to new list item button 2017-07-01 13:52:46 -04:00
Shawn Erquhart
66a683bef1 hide hidden widget in object and list controls 2017-06-28 16:12:35 -04:00
Shawn Erquhart
3a7c45f34e fix list widget preview 2017-06-08 14:12:36 -04:00
Shawn Erquhart
d526c27669 fix object previews
The `widgetFor` functionality needs to be shared between
the object and list previews, as well as being exposed to
preview template authors, so deriving widget components
within the ObjectPreview is being removed in this commit.
2017-06-07 23:23:10 -04:00
Shawn Erquhart
0589934169 update file widget to match image widget 2017-06-07 23:23:10 -04:00
Shawn Erquhart
3176fa1b3f fix entry editor bugs in kitchen sink entry 2017-06-07 23:23:09 -04:00
abumalick
38cb065570 warnings/widgets: forID is not required + typo 2017-06-05 13:56:25 -07:00
abumalick
e23f7e69dd warnings/proptypes: use oneOfType to support object and string 2017-06-05 13:56:25 -07:00
Shawn Erquhart
2a1e9b40b9 Merge pull request #395 from netlify/visual-tweaks
Small update to the UI's look and feel
2017-05-18 11:26:19 -04:00
Shawn Erquhart
62a8de98da improve theme color control via variables 2017-05-18 11:12:37 -04:00
David Francoeur
aac5339ac0 boolean widget & some documentation (#396) 2017-05-18 07:37:41 -07:00
Rafael Conde
e2120910f6 Update border on image widget, tweak the copy 2017-05-11 08:45:19 -07:00
Rafael Conde
cb45997c24 Increase contrast of popovers on editor 2017-05-10 08:58:21 -07:00
Shawn Erquhart
3ee5a5e172 update rich text toolbar styling 2017-05-05 12:58:42 -04:00
Shawn Erquhart
e21a33986f further improve ui contrast and consistency 2017-05-05 12:58:11 -04:00
Rafael Conde
5adbecad77 Increase contrast and focus of input fields 2017-05-05 12:57:41 -04:00
Shawn Erquhart
fdd44c88cb prevent rte scroll, improve code display 2017-04-28 15:40:54 -07:00
Benaiah Mischenko
9cdc39154a Prevent long code lines from breaking visual entry editor
Previously, long lines of preformatted text would cause the lines to
run off the side of the ProseMirror edit box and give the entire entry
editor a scrollbar. This commit makes the edit box itself scroll,
which looks and feels much less broken.
2017-04-26 12:23:37 -07:00
Shawn Erquhart
7a66dd4dcb remove superfluous rawMode editor prop 2017-04-24 22:39:37 -04:00
Shawn Erquhart
902134c4e8 add autosizing for markdown editor 2017-04-24 17:52:06 -04:00
Shawn Erquhart
ba2f092dc3 document Sticky microlib 2017-04-24 17:52:06 -04:00
Shawn Erquhart
9ff4e25736 move editor components to dropdown menu 2017-04-24 17:52:06 -04:00
Shawn Erquhart
fdd85486d8 update Toolbar proptypes 2017-04-24 17:52:06 -04:00
Shawn Erquhart
a3b487aaeb use React Toolbox Switch for rte mode selection 2017-04-24 17:52:06 -04:00
Shawn Erquhart
1a12c6f5aa fix rte markdown toggle position for small screens 2017-04-24 17:52:06 -04:00