32908 Commits

Author SHA1 Message Date
Madhuri Sandbhor
e76bef0e65
[Blocks Editor] Link popover save button disabled state (#18332)
* link save button disabled attribute added

* updated Link text field placeholder

* removed empty url check from submit

* minor changes
2023-10-06 14:29:15 +02:00
Simone
628d1d69a0
check if the block field value is an array if it is not null (#18334) 2023-10-06 12:28:53 +02:00
Rémi de Juvigny
8ebb00ad03
Fix code blocks shrinking (#18322) 2023-10-06 11:28:40 +02:00
Rémi de Juvigny
2937bb9237
[Blocks] Fix links colors (#18325)
* Fix links not using design system color

* Inherit text color in modifiers
2023-10-06 11:18:24 +02:00
Madhuri Sandbhor
3dc168a35e
[Blocks Editor] Description and placeholder added (#18239)
* placeholder and hint added for blocks

* test case updated

* props destructing not required
2023-10-06 09:53:26 +02:00
Rémi de Juvigny
87b94a07d4
Disable link button when editor is disabled (#18324) 2023-10-06 09:36:12 +02:00
Madhuri Sandbhor
3c14eca8ac
[Blocks Editor] Fix enter key on empty list (#18296)
* fix: enter on empty list

* jsdoc added for replaceListWithEmptyBlock()
2023-10-05 14:59:02 +02:00
Simone
830f20034a
[Blocks editor] Add the list ordered and list unordered options in the block selector (#18290)
* add the lists to the dropdown, change the options order

* use the hook to retrieve icon and label for the list buttons

* remove unused icons

* fix test issues

* refactor code to use block store

* fix comment
2023-10-05 13:12:23 +02:00
Simone
46010896d6
[Blocks editor] Manage click Enter twice on the same line (#18255)
* refactor handle enter key function

* remove comment

* add a unit test

* refactor the solution to handle other possible scenarios

* fix some review comments

* change variable implementation based on review comment

* change comments
2023-10-05 09:32:03 +02:00
Rémi de Juvigny
7708cb098d
[Blocks] Replace alpha warnings by beta warnings (#18278)
* Replace alpha warnings by beta warnings

* Fix alert variant
2023-10-05 09:17:48 +02:00
Rémi de Juvigny
59735af153
Fix code block styles (#18283) 2023-10-04 16:42:00 +02:00
Rémi de Juvigny
ab5a18e8aa
Set fixed 512px height for the whole editor (#18284) 2023-10-04 14:16:45 +02:00
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
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
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
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
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
Gustav Hansen
562dd2fd46
Merge pull request #18226 from strapi/dependabot/npm_and_yarn/core-js-3.33.0
Bump core-js from 3.32.0 to 3.33.0
2023-10-02 09:41:34 +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
Gustav Hansen
30ec7f1e3a
Merge pull request #18227 from strapi/dependabot/npm_and_yarn/browserslist-4.22.1
Bump browserslist from 4.21.4 to 4.22.1
2023-10-02 09:05:20 +02:00
Gustav Hansen
eb9d68232f
Merge pull request #18228 from strapi/dependabot/npm_and_yarn/cloudinary-1.41.0
Bump cloudinary from 1.40.0 to 1.41.0
2023-10-02 08:59:48 +02:00
Gustav Hansen
91db6f8645 chore(deps): update core-js version used by swc 2023-10-02 08:53:25 +02:00
dependabot[bot]
2f41407407
Bump cloudinary from 1.40.0 to 1.41.0
Bumps [cloudinary](https://github.com/cloudinary/cloudinary_npm) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/cloudinary/cloudinary_npm/releases)
- [Changelog](https://github.com/cloudinary/cloudinary_npm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cloudinary/cloudinary_npm/compare/1.40.0...1.41.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 23:01:45 +00: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
dependabot[bot]
f94c0ea134
Bump core-js from 3.32.0 to 3.33.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.32.0 to 3.33.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.33.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 22:57:28 +00:00
markkaylor
e7e82d57df
Fix skipped test (#18206) 2023-09-29 14:12:35 +02:00
Rémi de Juvigny
96a7112e3d
Merge pull request #18188 from strapi/rich-text-editor/disabled
[Blocks editor] Fix disabled state
2023-09-29 13:11:23 +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
Gustav Hansen
2d98270c7d
Merge pull request #18185 from strapi/chore/e2e-traces
chore(e2e): store test traces for failed tests as GH action artifacts
2023-09-28 15:14:33 +02:00
Convly
09b6d7a4b4 v4.14.0 v4.14.0 2023-09-28 13:58:40 +02:00
Gustav Hansen
67ef868b91 chore(e2e): limit traces to CI environments 2023-09-28 11:48:08 +02:00
Gustav Hansen
4b145c82d5 chore(e2e): limit trace retention to one day 2023-09-28 10:56:43 +02:00
Gustav Hansen
422869b00e chore(e2e): store test traces for failed tests as GH action artifacts 2023-09-28 10:56:43 +02:00
Gustav Hansen
4d9875b444
Merge pull request #18186 from strapi/chore/playwright-dep-1-38
chore(deps): upgrade playwright to 1.38.1
2023-09-28 10:51:45 +02:00