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
3176fa1b3f
fix entry editor bugs in kitchen sink entry
2017-06-07 23:23:09 -04:00
Shawn Erquhart
62a8de98da
improve theme color control via variables
2017-05-18 11:12:37 -04: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
Shawn Erquhart
86b7b84637
fold ToolbarPlugins into Toolbar
2017-04-24 17:52:06 -04:00
Shawn Erquhart
b8dce2fb4b
split out ToolbarPluginForm
2017-04-24 17:52:05 -04:00
Shawn Erquhart
dd29658abb
split out ToolbarPluginFormControl
2017-04-24 17:52:05 -04:00
Shawn Erquhart
c7d3de0fc8
use ToolbarButton for plugins
2017-04-24 17:52:05 -04:00
Shawn Erquhart
c5d9f44de2
split out ToolbarButton component
2017-04-24 17:52:05 -04:00
Shawn Erquhart
192afe2ec5
make markdown toggle purpose more obvious
...
The "< >" button on the toolbar should format selected
text as code, but its serving as a visual mode toggle.
This commit switches out the code icon for a text label,
and moves it to the right side of the rich text toolbar.
2017-04-24 17:52:05 -04:00
Shawn Erquhart
fc5d935e53
use Context for sticky, support multiple stickies
2017-04-24 17:52:05 -04:00
Shawn Erquhart
ec29a04089
implement initial working sticky rte toolbar
2017-04-24 17:52:05 -04:00
Shawn Erquhart
33fe2b820c
add active state to rich text raw toggle
2017-04-24 17:52:04 -04:00
Shawn Erquhart
b2fd96c12e
condense rich text functionality to static toolbar
2017-04-24 17:52:04 -04:00
Shawn Erquhart
3096b4617e
improve entry editor UI
2017-03-15 21:18:16 -04:00
Cássio Souza
a4d7622ade
Asset API ( #204 )
...
Asset API
2017-01-10 22:23:22 -02:00
Mathias Biilmann Christensen
b8e04f72a3
Treat lists as tight in code mirror so we don't get Ps inside them
2016-12-27 23:19:00 -08:00
Mathias Biilmann Christensen
75100eaa3a
Support for drag and drop image uploads in both rte and raw editor mode
2016-12-27 23:18:37 -08:00
Mathias Biilmann Christensen
06218e55eb
Update prosemirror
2016-12-27 23:13:31 -08:00
Mathias Biilmann
d81d0d416f
Widget fixes ( #162 )
...
* Make string the default widget if none is specified
* Linting fixes for PreviewPane
* Linting fixes for ControlPane
* Add date widget
* Fix name of date control class
* Fix spaces in list control with no fields
* Fix linting error for List Control
* Fix linting errors in raw editor
* Add Select widget
* Fix linting error
2016-11-17 10:08:37 -02:00
Mathias Biilmann Christensen
077d9d7fa0
Fix Toolbar.css overwritten by linter script
2016-11-11 16:09:04 -08:00
Cássio Zen
0521757b8c
prosemirror integration
2016-11-11 18:36:11 -02:00
Mathias Biilmann Christensen
8461abc1b5
Replace md parser for pubstorm to make editor plugins work
2016-11-04 11:04:54 -07:00
Mathias Biilmann Christensen
038597573c
Custom plugin support in rte
2016-11-01 23:31:20 -07:00
Mathias Biilmann Christensen
f02bd9a789
Link support in prose mirror
2016-11-01 17:58:19 -07:00
Mathias Biilmann Christensen
27d33d2a84
Make headers buttons toggle headers
2016-11-01 17:51:49 -07:00
Mathias Biilmann Christensen
97928a7b34
Fix undo history in prose mirror
2016-11-01 17:25:37 -07:00
Mathias Biilmann Christensen
4c221e3238
Fix linter overwriting css
2016-11-01 16:58:38 -07:00