Erez Rokah
d3831b1ed4
fix(prop-types): check for react components via PropTypes.elementType ( #4025 )
2020-07-15 14:21:08 +03:00
stefanprobst
2b01e009c6
fix(widget-markdown): headings dropdown not showing properly no firefox ( #3903 )
2020-06-15 15:01:52 +03:00
Erez Rokah
53cba02244
fix: update rehype-remark ( #3864 )
2020-06-07 14:01:50 +03:00
Bartholomew
2b46608f86
feat: add widgets schema validation ( #3841 )
2020-06-03 16:43:34 +03:00
Erez Rokah
7bc75d095b
fix(widget-markdown): don't strip new lines from text nodes ( #3813 )
2020-06-03 13:16:24 +03:00
Pedr Browne
028ab535df
fix: prevent escaping of footnotes and references ( #3646 )
...
Prevent footnotes ([^1]:blah) and footnote references ([^1]) from being incorrectly escaped when switching between Markdown and Rich Text modes.
Co-authored-by: Pedr <pedr@sleepstation.org.uk>
2020-04-22 19:41:06 +03:00
Kevin Young
99071c14e4
fix(markdown widget): adds keyboard shortcuts ( #3005 ) ( #3582 )
2020-04-15 11:49:38 +03:00
Erez Rokah
4afbbdd8a9
feat(yaml): support comments ( #3529 )
2020-04-07 15:00:06 +03:00
Manish Giri
a91e8316f7
refactor(ui): use variables for z-index values ( #3453 )
2020-03-24 15:46:47 +02:00
renovate[bot]
d812eecc51
chore(deps): lock file maintenance ( #3428 )
...
* chore(deps): lock file maintenance
* fix: don't add undefined children property
* chore: add missing axios dependency
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
2020-03-16 12:38:10 +01:00
Erez Rokah
50837b0068
fix: ja locale labels ( #3367 )
2020-03-05 16:35:24 +01:00
Shawn Erquhart
b7b4bcb609
feat: Configure included editor components per field, add optional minimal height ( #3299 )
2020-03-04 08:47:37 +01:00
Erez Rokah
9211075cf0
test(widget-markdown): change test name to be more descriptive ( #3321 )
2020-02-25 16:17:03 +01:00
Erez Rokah
2a0aef27d1
fix(widget-markdown): don't add duplicate marks ( #3290 )
2020-02-19 19:21:50 +01:00
Erez Rokah
cdd3747850
fix(widget-markdown): allow shortcodes as list items ( #3278 )
2020-02-17 17:35:29 +02:00
Erez Rokah
ab685e8594
fix: change getAsset to not return a promise ( #3232 )
...
* fix: change getAsset to not return a promise
* fix: update markdown widget per getAsset changes
* test: fix editor component image test
* docs: update getAsset docs
2020-02-12 19:12:36 -05:00
Erez Rokah
97bc0c8dc4
feat: field based media/public folders ( #3208 )
2020-02-10 11:05:47 -05:00
tiuweehan
fc91bf8781
fix(locale): remove hard coded strings ( #3193 )
2020-02-04 14:49:47 +02:00
Erez Rokah
b4c5fc7783
fix(editor): merge adjacent text nodes with same marks ( #3173 )
2020-01-31 16:49:10 -08:00
Erez Rokah
c4cbae7725
revert: don't force multiline flag for editor component patterns ( #3089 )
...
* revert: don't force multiline flag for editor component patterns
refs: 338c1b68d2865a20fed851295451175b840983d4, 4839160ee6126adfbab7bfa58452560090c00737
github issues: 3088, 3086
* fix: only trim ending white spaces/line breaks when parsing shortcodes
remark validates the value of the 'eat' function using a prefix match between the original value and the value provided. Trimming the start can break that validation
* fix: change console log to warn
2020-01-15 10:28:09 -05:00
Erez Rokah
fde0c5a9a7
fix(widget-markdown): ensure remarkToSlate result matches slate schema ( #3085 )
2020-01-14 13:20:52 -05:00
Shawn Erquhart
476f45096e
fix(core): force multiline flag for editor component patterns ( #3082 )
2020-01-14 08:44:37 +02:00
Shawn Erquhart
09564bf8b6
fix(widget-markdown): stop double pasting in raw editor ( #3083 )
2020-01-13 19:48:01 -05:00
Shawn Erquhart
29299097cf
fix(widget-markdown): allow multiline shortcodes ( #3066 )
2020-01-12 09:30:28 +02:00
Shawn Erquhart
1b755b3be8
fix(widget-markdown): cut/copy selection only in raw mode ( #3024 )
2020-01-03 20:01:23 -05:00
Shawn Erquhart
fe097202f0
fix: avoid nested select widget z-index conflicts ( #2990 )
2019-12-20 15:40:09 -05:00
Erez Rokah
2b41d8a838
feat: bundle assets with content ( #2958 )
...
* fix(media_folder_relative): use collection name in unpublished entry
* refactor: pass arguments as object to AssetProxy ctor
* feat: support media folders per collection
* feat: resolve media files path based on entry path
* fix: asset public path resolving
* refactor: introduce typescript for AssetProxy
* refactor: code cleanup
* refactor(asset-proxy): add tests,switch to typescript,extract arguments
* refactor: typescript for editorialWorkflow
* refactor: add typescript for media library actions
* refactor: fix type error on map set
* refactor: move locale selector into reducer
* refactor: add typescript for entries actions
* refactor: remove duplication between asset store and media lib
* feat: load assets from backend using API
* refactor(github): add typescript, cache media files
* fix: don't load media URL if already loaded
* feat: add media folder config to collection
* fix: load assets from API when not in UI state
* feat: load entry media files when opening media library
* fix: editorial workflow draft media files bug fixes
* test(unit): fix unit tests
* fix: editor control losing focus
* style: add eslint object-shorthand rule
* test(cypress): re-record mock data
* fix: fix non github backends, large media
* test: uncomment only in tests
* fix(backend-test): add missing displayURL property
* test(e2e): add media library tests
* test(e2e): enable visual testing
* test(e2e): add github backend media library tests
* test(e2e): add git-gateway large media tests
* chore: post rebase fixes
* test: fix tests
* test: fix tests
* test(cypress): fix tests
* docs: add media_folder docs
* test(e2e): add media library delete test
* test(e2e): try and fix image comparison on CI
* ci: reduce test machines from 9 to 8
* test: add reducers and selectors unit tests
* test(e2e): disable visual regression testing for now
* test: add getAsset unit tests
* refactor: use Asset class component instead of hooks
* build: don't inline source maps
* test: add more media path tests
2019-12-18 11:16:02 -05:00
Shawn Erquhart
18c579d0e9
feat: Code Widget + Markdown Widget Internal Overhaul ( #2828 )
...
* wip - upgrade to slate 0.43
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* finish list handling logic
* add plugins directory
* tests wip
* setup testing
* wip
* add selection commands
* finish list testing
* stuff
* add codemirror
* abstract codemirror from slate
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* codemirror mostly working, some bugs
* upgrade to slate 46
* upgrade to slate 47
* wip
* wip
* progress
* wip
* mostly working links with surrounding marks
* wip
* tests passing
* add test
* fix formatting
* update snapshots
* close self closing tag in markdown html output
* wip - commonmark
* hold on commonmark work
* all tests passing
* fix e2e specs
* ignore tests in esm builds
* break/backspace plugins wip
* finish enter/backspace spec
* fix soft break handling
* wip - editor component deletion
* add insertion points
* make insertion points invisible
* fix empty mark nodes output to markdown
* fix pasting
* improve insertion points
* add static bottom insertion point
* improve click handling at insertion points
* restore current table functionality
* add paste support for Slate fragments
* support cut/copy markdown, paste between rich/raw editor
* fix copy paste
* wip - paste/select bug fixing
* fixed known slate issues
* split plugins
* fix editor toggles
* force text cursor in code widget
* wip - reorg plugins
* finish markdown control reorg
* configure plugin types
* quote block adjacent handling with tests
* wip
* finish quote logic and tests
* fix copy paste plugin migration regressions
* fix force insert before node
* fix trailing insertion point
* remove empty headers
* codemirror working properly in markdown widget
* return focus to codemirror on lang select enter
* fix state issues for widgets with local state
* wip - vim working, just need to work out distribution
* add settings pane
* wip - default modes
* fix deps
* add programming language data
* implement linguist langs in code widget
* everything built in
* remove old registration code, fix focus styling
* fix/update linting setup
* fix js lint errors
* remove stylelint from format script
* fix remaining linting errors
* fix reducer test failures
* chore: update commitlint for worktree support
* chore: fix remaining tests
* chore: drop unused monaco plugin
* chore: remove extraneous global styles rendering
* chore: fix failing tests
* fix: tests
* fix: quote/list nesting (tests still broken)
* fix: update quote tests
* chore: bring back code widget test config
* fix: autofocus
* fix: code blocks without the code widget
* fix: code editor component state issues
* fix: error
* fix: add code block test, few fixes
* chore: remove notes
* fix: [wip] update stateful shortcodes on undo/redo
* fix: support code styled links, handle unknown langs
* fix: few fixes
* fix: autofocus on insert, focus on all clicks
* fix: linting
* fix: autofocus
* fix: update code block fixture
* fix: remove unused cypress snapshot plugin
* fix: drop node 8 test, add node 12
* fix: use lodash.flatten instead of Array.flat
* fix: remove console logs
2019-12-16 19:17:37 +02:00
Kyle
1ff9db0915
fix(widget-markdown): fix carriage return issue ( #2899 )
2019-11-28 11:27:58 -05:00
Erez Rokah
4c5f013d15
chore: fix some dev mode console errors ( #2924 )
2019-11-28 11:02:19 +02:00
Christian Fritsch
78face334f
feat(widget-markdown): add headings dropdown ( #2879 )
2019-11-18 17:16:33 -05:00
Erez Rokah
ead46af194
chore(deps): update dependency prettier to v1.19.1 ( #2893 )
...
* chore(deps): update dependency prettier to v1.19.1
* style: format files after prettier upgrade
2019-11-18 17:51:51 +02:00
Erez Rokah
4833f33728
test: pass missing prop in test ( #2876 )
2019-11-13 18:36:42 +02:00
Erez Rokah
d38d4665c4
test(cleanup): remove/reintorduce skipped tests ( #2788 )
2019-10-23 13:22:48 +03:00
Shawn Erquhart
dc1ba6d41b
chore(widget-markdown): add failing commonmark spec ( #2263 )
2019-05-20 09:48:02 -04:00
Bartholomew
60caca0950
fix(widget-markdown): ensure correct value on list reorder ( #2298 )
2019-05-09 13:20:51 -04:00
Shawn Erquhart
14b6292eab
feat(editor-components): match any characters with shortcodes ( #2268 )
2019-04-10 15:23:53 -04:00
Andreas Lind
d082b97a41
chore(widget-markdown): add skipped tests for invalid markdown ( #2052 )
2019-04-04 14:34:49 -04:00
Tony Alves
b4041d3971
chore: refine named exports ( #2249 )
2019-03-27 16:47:28 -04:00
Tony Alves
82cc7941cc
feat: provide usable UMD builds for all packages ( #2141 )
2019-03-16 18:44:29 -04:00
Shawn Erquhart
ccef446d72
feat: upgrade to Emotion 10 ( #2166 )
2019-03-15 10:19:57 -04:00
Shawn Erquhart
686504adee
feat(core): recover entry after unexpected quit ( #2129 )
2019-02-28 13:30:23 -05:00
Andreas Lind
ade03d09f1
fix(markdown-widget): handle leading or trailing whitespace ( #1517 )
2019-02-01 20:39:12 -05:00
Zach Vinless
cbb7762883
feat(editor-components): support title in image component ( #1862 )
2018-12-11 11:23:07 -05:00
Alexander Nanberg
37721718a5
fix(netlify-cms-widget-markdown): add missing border radius on toolbar ( #1905 )
2018-11-23 13:07:25 +01:00
Shawn Erquhart
a0cfa1a92f
fix(editor-components): fix default value processing ( #1848 )
2018-11-02 10:28:42 -04:00
Leonardo Dino
9b72419096
fix(editor-component-image): fix null on empty markdown image alt ( #1778 )
2018-10-26 14:00:11 -04:00
Caleb
0d0180966a
fix: add support for default field values in editor components ( #1616 )
2018-09-04 13:29:06 -04:00
Caleb
922b1846cb
chore: add missing react prop types ( #1651 )
2018-08-27 12:23:21 -04:00
Robert Karlsson
a1677b0e24
chore: update Slate dependencies ( #1451 )
2018-08-23 16:54:55 -04:00