14487 Commits

Author SHA1 Message Date
Madhuri Sandbhor
502bd29738
[Blocks Editor] Fix empty list backspace issue (#18260)
* fixed backspace key for empty list

* fixed backspace key for empty list

* added a check for handleBackspaceKey

* test case updated for ordered-list, colocated code for list block
2023-10-04 12:48:08 +02:00
Ben Irvin
93595cfdad
Merge branch 'main' into fix/dts-ws-timeout 2023-10-04 12:07:42 +02:00
markkaylor
9b2cfe1ae1
Fix blocks config (list, sort, filter, main field) (#18207) 2023-10-04 11:28:13 +02:00
markkaylor
a9e8ad6a64
Fix focus on select (#18193) 2023-10-04 11:22:11 +02:00
Fernando Chávez
428049c401
[Rich Text Editor] Add link plugin and buttons (#18195)
* add link plugin and buttons

* fix validations

* apply josh & madhuri feedback

* apply madhuri feedback

* apply mark's feedback

* fix tests
2023-10-04 10:23:23 +02:00
Josh
ee5c626501
chore: use yarn resolution for design-system (#18238)
* chore: use yarn resolution for design-system

* fix: helper-plugin types

* fix: color picker types
2023-10-04 09:01:56 +01:00
Rémi de Juvigny
3f54767ebc
[Blocks editor] Handle multi line quotes (#18200)
* Handle enter on quotes

* Add test case

* Remove italic style

* Remove log
2023-10-03 15:16:34 +02:00
Ben Irvin
3e16c7d49c end connection on handler errors 2023-10-03 14:49:43 +02:00
Simone
493eb0a58d
[Blocks editor] Manage mixed blocks selection (#18181)
* first draft multiblocks selection fix

* refactor multi blocks selection logic

* remove useless console log

* refactor getAchorBlockKey based on comments

* change test order

* refactor the search using matchNode

* add some comments to explain the useEffect

* fix comments syntax and typos

* fix comments syntax
2023-10-03 14:25:33 +02:00
Ben Irvin
2be93c9e10 handle errors in error responses 2023-10-03 13:42:05 +02:00
Ben Irvin
131bd19d4a improve error handling 2023-10-03 13:23:27 +02:00
Ben Irvin
62fdf33bb3 improve logging 2023-10-03 13:20:04 +02:00
Ben Irvin
878c921445 refactor and add catch block 2023-10-03 13:18:00 +02:00
Simone
08a62df085
Merge branch 'main' into feature/rich-text-editor 2023-10-03 09:10:18 +02:00
markkaylor
35cf6eed94
chore: bump design-system from 1.11.0 to 1.12.0 (#18241) 2023-10-02 18:21:23 +01:00
markkaylor
14a5e2fae8
[RTE] Make images truly void (#18205) 2023-10-02 18:43:35 +02:00
Josh
d8c13912ba
chore: update eslint (#18240)
* chore: update eslint deps & fix lint issues

* chore: update prettier

* fix: packagejson

* Revert "chore: update prettier"

This reverts commit 65f82dfa5b3b0a925fb0d86c20a7e555015c7b48.
2023-10-02 17:29:23 +01:00
Josh
2b6cb7373c
chore: remove stylelint (#18242) 2023-10-02 17:27:43 +01:00
Ben Irvin
7a78d05d61 use original values 2023-10-02 17:39:26 +02:00
Ben Irvin
b3cf7d6171 only set timeouts during a transfer 2023-10-02 16:59:05 +02:00
Ben Irvin
36543641bc write our own http timeout so websockets don't close 2023-10-02 16:25:04 +02:00
Ben Irvin
b0cb8ac3f1 disable koa timeout on ws connection 2023-10-02 12:38:29 +02:00
Ben Irvin
954e2ebf1f
Merge pull request #18180 from strapi/fix/17955-validation-allows-empty-objects 2023-10-02 09:34:05 +02:00
Convly
fdf3bba0c8 Remove parameters initialization from the Attribute.Any.Relation reference 2023-10-02 09:20:35 +02:00
dependabot[bot]
b17d8327e4
Bump browserslist from 4.21.4 to 4.22.1
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.21.4 to 4.22.1.
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.21.4...4.22.1)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 22:58:47 +00:00
Convly
941b8fdad6 Only allow content types as relation target (cannot target component) 2023-09-30 13:31:21 +02:00
markkaylor
e7e82d57df
Fix skipped test (#18206) 2023-09-29 14:12:35 +02:00
Rémi de Juvigny
b974c5d334 Feedback code cleanup 2023-09-29 11:59:44 +02:00
Rémi de Juvigny
061bb5d2d7 Don't require disabled on BlocksEditor 2023-09-29 11:26:24 +02:00
Rémi de Juvigny
0a68e8db1f Merge remote-tracking branch 'origin/feature/rich-text-editor' into rich-text-editor/disabled 2023-09-29 11:25:06 +02:00
Rémi de Juvigny
974b12af61
Merge pull request #18178 from strapi/rich-text-editor/new-i18n-icon
[Blocks editor] Show i18n icon on localized blocks fields
2023-09-29 09:39:59 +02:00
Ben Irvin
79ca6debec
Merge branch 'main' into fix/17955-validation-allows-empty-objects 2023-09-28 17:46:27 +02:00
Rémi de Juvigny
631cee14d1 Fix tests 2023-09-28 17:31:59 +02:00
Rémi de Juvigny
db3d81b221 Remove separator from toolbar 2023-09-28 16:46:03 +02:00
Rémi de Juvigny
0a55527ebb Apply disabled color to icon buttons 2023-09-28 16:36:08 +02:00
Rémi de Juvigny
1a44a05306 Merge remote-tracking branch 'origin/feature/rich-text-editor' into rich-text-editor/disabled 2023-09-28 15:36:58 +02:00
Jean-Sébastien Herbaux
d010ff3a1e
Merge pull request #18197 from strapi/releases/4.14.0 2023-09-28 15:30:50 +02:00
Madhuri Sandbhor
6b5aae907b
image save functionality updated (#18184) 2023-09-28 15:27:40 +02:00
Convly
09b6d7a4b4 v4.14.0 2023-09-28 13:58:40 +02:00
Rémi de Juvigny
5e88b8f170 Restore radix toolbar dependency 2023-09-28 10:21:50 +02:00
Patrict J
b39586bf8d
fix(content-manager): relations input search not found (#18110)
* Update Relations searchFor to send new optional params

* Update relations.js to accept new optional search operation

* Update relations.js, reduce and default

* Update useRelation.js, change to actual operand

* Update useRelation.js, change _m to _filter

* Update relations.js, change _m to _filter

* Add operator check

* remove template literals

* update test on useRelation
2023-09-28 09:20:00 +01:00
Rémi de Juvigny
ee654b5fa3 Handle disabled 2023-09-27 17:20:50 +02:00
Convly
6bbcdf8d2a Fix the shared types resolving for Common.Schemas 2023-09-27 16:53:09 +02:00
Convly
4bf987e13d Add 'blocks' to the Model's attributes 2023-09-27 15:26:11 +02:00
Convly
155adbfa37 Add Attribute.Blocks to Attribute.Any 2023-09-27 14:52:44 +02:00
Convly
bfb8637195 Add missing blocks attribute types 2023-09-27 14:47:07 +02:00
Ben Irvin
26753c2c6f allow empty objects in validator 2023-09-27 11:56:41 +02:00
Rémi de Juvigny
3f44fcb54f Enforce editable state 2023-09-27 11:43:37 +02:00
Rémi de Juvigny
4466387ad0 Add i18n icon 2023-09-27 11:34:42 +02:00
Simone
24fa848ba3
Add new Blocks rich text editor (alpha) (#18166)
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Madhuri Sandbhor <madhuri.sandbhor@strapi.io>
2023-09-26 17:21:44 +02:00