Jonatan Witoszek
58d2a2b438
ESLint: No unused variables ( #1981 )
...
* Update eslint config to inform about unused variables
* Remove unused variables
2022-10-04 13:30:51 +02:00
Michał Droń
d5c9a3dae8
Add trailing commas ( #2062 )
...
* Require trailing commas
* Add trailing commas
* Add trailing commas in testUtils dir
* Add trailing commas
2022-06-21 11:36:55 +02:00
Jonatan Witoszek
993a99ff07
Fix EditorJS inputs ( #2052 )
...
* Bump Editor.js version
* Refactor RichTextEditor to use react-editor-js wrapper
* fixup! Bump Editor.js version
* Rewrite RichTextEditor to use uncontrolled input
* Fix RichTextEditorContent not rendering any content due to missing id
* Fix RichTextEditorContent not working on initial render
* Remove editorjs-undo
* Refactor usage of RichTextEditor to get its data only during submit
* Add useMultipleRichText hook for managing rich text attributes
* fixup! Refactor usage of RichTextEditor to get its data only during submit
* Rewrite Attributes usage to use EditorJS .save() on submit
* Refactor RichTextContext into separate file
* Rewrite tests for useRichText
* Add PR changes to the changelog
* Update snaphosts
* Fix failing tests for components that use RichTextEditor
* Remove duplicated getSubmitData function
2022-05-26 10:06:46 +02:00
Dominik Żegleń
5304eeecc9
Fix empty rich text editor not loading ( #1904 )
...
* Fix empty rich text editor not loading
* Fix static rich text font size
* Add cleanup function
* Update snapshots
2022-03-16 11:09:12 +01:00
Karolina Rakoczy
f5a8db9f2e
Update data test ids for 3.1 ( #1814 )
...
* add update data test ids
* fix not changed test ids
* fix data-test-id for gift cards
* remove comment
* fix base url
2022-02-11 12:28:55 +01:00
Wojciech Mista
f1575ac179
EditorJS initialisation fixes ( #1789 ) ( #1822 )
...
* Fix editor initialising issue in update pages
* Fix translation editor error
2022-02-02 23:12:58 +01:00
Dawid Tarasiuk
4c53dd0792
Fix EditorJS read-mode toggle race condition ( #1711 )
...
* Fix EditorJS read-mode toggle race condition
Fixes rare edge case when toggling read mode is peerformed at the same
time.
* Make PromiseQueue function
2022-01-10 14:34:17 +02:00
Jakub Majorek
df7ac2dd45
Fix rich text editor content not being saved ( #1202 )
...
* Fix rich text editor content not being saved
* Add a temporary workaround to EditorJS issue
2021-07-01 13:23:36 +02:00
Piotr Grundas
a0dce99b5d
[SALEOR-3090] Boolean attribute ( #1157 )
2021-06-20 01:13:16 +02:00
Dominik Żegleń
935a6f4542
Reduce bundle size ( #1103 )
...
* Add analysis tools
* Use deep imports to reduce bundle size
* Remove tslint config
* Remove unused packages
* Remove lodash-es references
* Use root level mui imports
* Remove mui from restricted imports
2021-05-14 10:15:15 +02:00
Jakub Majorek
e5df1b2dbf
Add shipping method description ( #1058 )
...
* Add shipping method description - WIP
* Wire up logic
* Handle more editorjs issues
* Fix minor issues
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-04-16 14:33:14 +02:00
Jakub Majorek
77ed12664d
Fix rare editorjs race condition ( #953 )
2021-01-21 09:54:53 +01:00
Krzysztof Wolski
439e5b249e
Remove im ready message ( #843 )
2020-11-20 10:44:50 +01:00
dominik-zeglen
4d15fa52b8
Add undo ability
2020-11-05 17:32:55 +01:00
dominik-zeglen
02e93b06d6
Use rich text editor in translations
2020-11-05 17:30:38 +01:00
dominik-zeglen
55d9a1c986
Fix selection styles
2020-11-05 15:31:00 +01:00
dominik-zeglen
8bc0b18e4f
wip
2020-11-05 15:16:39 +01:00
dominik-zeglen
bc78c03e29
Improve dark mode
2020-11-05 15:10:46 +01:00
dominik-zeglen
dfc063caa1
Improve component encapsulation
2020-11-05 14:56:29 +01:00
dominik-zeglen
44df6225ad
Add todo
2020-11-04 13:59:28 +01:00
dominik-zeglen
f4dfbe7e90
Fix header styling
2020-11-04 13:59:25 +01:00
dominik-zeglen
28cc74c954
Add rich text editor to product pages
2020-11-04 13:58:38 +01:00
dominik-zeglen
437df6fe9a
wip
2020-11-04 13:58:36 +01:00
dominik-zeglen
88bd52763c
Add ability to save data
2020-11-04 13:58:34 +01:00
dominik-zeglen
393b4a5860
Fix styles
2020-11-04 13:58:33 +01:00
dominik-zeglen
815941fc82
Fix types
2020-11-04 13:58:31 +01:00
dominik-zeglen
dab8064e26
Use editorjs instead of draftail
2020-11-04 13:58:30 +01:00
Dawid Tarasiuk
30ab1bb439
Fix misaligned rich text draft controls
2020-09-23 17:58:25 +02:00
Krzysztof Wolski
a82de30309
Add circleci config and enhance our linters ( #519 )
...
* Add circleci config
* Season linting config
* Apply code style
2020-05-14 11:30:32 +02:00
dominik-zeglen
8b0bf50ed4
Remove unused code
2020-03-02 11:20:47 +01:00
dominik-zeglen
1a843e59bd
Fix types
2020-03-02 11:20:45 +01:00
dominik-zeglen
c9cf31851e
Display error message if invalid content is passed
2020-03-02 11:20:45 +01:00
dominik-zeglen
96176924f9
Add missing style names
2019-12-03 16:28:40 +01:00
dominik-zeglen
421da92cb3
Use eslint instead of tslint
2019-12-02 16:33:58 +01:00
dominik-zeglen
74d6794679
Update @material-ui to v4
2019-11-07 14:29:07 +01:00
dominik-zeglen
d84ba84e91
Update @material-ui
2019-11-07 14:22:40 +01:00
Krzysztof Bialoglowicz
fbb97a751a
Fix button hover styles and small issues
2019-09-16 04:14:57 +02:00
dominik-zeglen
bd211a6720
Update from saleor/master
2019-08-09 13:14:35 +02:00
dominik-zeglen
0c53e9883a
Do not use asterisk imports
2019-08-09 12:26:22 +02:00
dominik-zeglen
5d959e6d6e
Initial commit
2019-06-19 16:40:52 +02:00