5481 Commits

Author SHA1 Message Date
Andrey Okonetchnikov
a4dea8ac7a Added logo as a link to dashboard. Cleaned up AppHeader a bit visually. 2016-10-05 18:55:35 +02:00
Andrey Okonetchnikov
e629fb3b20 Merge pull request #93 from netlify/travis-ci
Add support for Travis CI
2016-10-05 18:05:05 +02:00
Andrey Okonetchnikov
6d9a3962dc npm test will run all linters and tests. This is needed for the CI. 2016-10-05 17:45:29 +02:00
Andrey Okonetchnikov
662f64b8e6 Added travis.yml 2016-10-05 17:45:19 +02:00
Andrey Okonetchnikov
a560d4e8fe Updated stylelintrc 2016-10-05 14:41:45 +02:00
Andrey Okonetchnikov
e06f8ec3a9 Added declaration-block-properties-order based on https://github.com/hudochenkov/postcss-sorting/blob/master/configs/default.json 2016-10-05 12:56:33 +02:00
Andrey Okonetchnikov
18be4e8fd2 Removed *.jsx from lint-staged config 2016-10-05 12:34:58 +02:00
Andrey Okonetchnikov
af0563eb70 Added lint-staged rule for CSS files 2016-10-05 12:34:27 +02:00
Andrey Okonetchnikov
a801714f16 Added stylefmt and lint:css:fix task 2016-10-05 12:32:59 +02:00
Andrey Okonetchnikov
0ccaad5822 Added stylelint + config 2016-10-05 12:15:26 +02:00
Andrey Okonetchnikov
b3b7e5dd16 Added .editorconfig 2016-10-05 12:05:38 +02:00
Andrey Okonetchnikov
b95bb595f7 Implement ScrollSync component for sync scroll between containers 2016-10-04 17:58:26 +02:00
Andrey Okonetchnikov
ca34def49e Merge branch 'master' into markitup-react 2016-10-03 17:00:11 +02:00
Andrey Okonetchnikov
2022e203bf Merge pull request #88 from netlify/class-properties-initializers
Class properties initializers
2016-10-03 16:42:25 +02:00
Andrey Okonetchnikov
5ba0c46aee Merge branch 'master' into class-properties-initializers 2016-10-03 16:41:15 +02:00
Andrey Okonetchnikov
9e8bdb18b9 Added missing semicolons to class properties 2016-10-03 16:37:11 +02:00
Andrey Okonetchnikov
4c50952131 Enfore semicolon for class properties 2016-10-03 16:34:48 +02:00
Cássio Souza
9838660c0c UI small adjustments & refinments (#87)
* UI small adjustments & refinments

* Removed autohide navbar
2016-10-03 11:18:58 -03:00
Cássio Zen
e5d4cc55b2 Removed autohide navbar 2016-10-03 11:18:10 -03:00
Andrey Okonetchnikov
4010a16a76 Use static propTypes class property 2016-10-03 14:33:48 +02:00
Andrey Okonetchnikov
382b1537b0 Use ES7 class properties initializers 2016-10-03 14:25:27 +02:00
Cássio Zen
ffb1d7a491 UI small adjustments & refinments 2016-09-30 19:51:12 -03:00
Andrey Okonetchnikov
7fde1e811a Re-written Preview as a functional component. It also re-uses widgetFor prop to get widgets. 2016-09-30 16:38:10 +02:00
Andrey Okonetchnikov
f1eb93ee7f Moved PreviewPane to a separate directory. Extracted Preview component to a separate file. 2016-09-30 16:25:15 +02:00
Andrey Okonetchnikov
edf8abbc42 Implemented scroll sync from control pane to the preview pane. 2016-09-29 22:17:29 +02:00
Andrey Okonetchnikov
841772496a Moved EntryEditor to a separate directory 2016-09-29 19:02:28 +02:00
Andrey Okonetchnikov
9f33b160e7 Added some more rules to eslintrc. Removed unnecessary globals from it. 2016-09-29 18:55:01 +02:00
Andrey Okonetchnikov
e644104542 Added drag'n'drop image adding to VisualEditor.
Removed StylesMenu and BlockTypesMenu positioning code since it didn't work
with adding images using DnD.
2016-09-29 18:53:47 +02:00
Andrey Okonetchnikov
e454144d31 Use HoC withPortalAtCursorPosition for StylesMenu and BlockTypesMenu to DRY 2016-09-29 18:51:39 +02:00
Andrey Okonetchnikov
cfc8be3f36 Removed console.log call 2016-09-29 18:48:23 +02:00
Andrey Okonetchnikov
47512001ec Implement image uploading for the raw editor 2016-09-28 14:05:51 +02:00
Andrey Okonetchnikov
0a3676204e Localized CSS 2016-09-28 12:46:39 +02:00
Andrey Okonetchnikov
d09e9b40e4 Updated styles for entry page layout.
This removes the need for resize handlers and height calc anymore.
Re-written the component in a functional way.
2016-09-28 12:24:17 +02:00
Andrey Okonetchnikov
4192945a3b Updated jsx-indent-props rule 2016-09-28 12:23:26 +02:00
Andrey Okonetchnikov
2b5a987945 WIP on drag'n'drop image uploading 2016-09-28 11:19:12 +02:00
Andrey Okonetchnikov
4020dfc912 Refactored MarkdownControl to not use constructor and simplified render method 2016-09-27 13:08:25 +02:00
Andrey Okonetchnikov
107e8f7104 Moved MarkupItReactRenderer to /components. Added a story for it. 2016-09-27 12:57:41 +02:00
Andrey Okonetchnikov
78eb65bca2 Renamed component 2016-09-27 12:24:52 +02:00
Andrey Okonetchnikov
f38e6b6f25 Use dangerouslySetInnerHTML since the react parser wasn't working with inline styles correctly. 2016-09-27 12:18:52 +02:00
Andrey Okonetchnikov
05913d4a1b Omit not allowed attributes instead of white-listing them 2016-09-27 11:33:28 +02:00
Andrey Okonetchnikov
e0724aa1bd Use react-htmlparser2 to render HTML to React VDOM 2016-09-27 11:26:28 +02:00
Andrey Okonetchnikov
0a9eb3d688 Fixed a typo 2016-09-27 11:14:41 +02:00
Andrey Okonetchnikov
71c638bc27 Integrated MD Preview component with mediaproxy 2016-09-26 15:59:49 +02:00
Andrey Okonetchnikov
cdc71a2bbf Sanitize unsupported props. This removes all React warnings. Refactored renderToken. 2016-09-26 15:37:25 +02:00
Andrey Okonetchnikov
af8ea80142 Added support for custom renderers 2016-09-26 13:31:36 +02:00
Andrey Okonetchnikov
20e681e7ec Added support for rendering inlined HTML in MD documents 2016-09-26 13:18:22 +02:00
Andrey Okonetchnikov
1860a2389d Use Immutable data structure without converting to JSON for speed and profit. Added more tests. 2016-09-23 19:56:35 +02:00
Andrey Okonetchnikov
57688af42e Support more elements. Import dicitonaries from markup-it. Added more tests. 2016-09-22 22:34:43 +02:00
Andrey Okonetchnikov
9392fdbe30 Integrated MarkitupReactRenderer with Preview pane 2016-09-22 21:53:57 +02:00
Andrey Okonetchnikov
04c9780ee1 Better implementation 2016-09-22 21:53:11 +02:00