Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
f8602e5
add link type dropdown
i-just Feb 21, 2025
fd6b4dd
tweak
i-just Feb 25, 2025
4813676
advanced link fields POC
i-just Feb 26, 2025
b5b5152
split link into editing and ui
i-just Feb 26, 2025
275ae7f
tweaks
i-just Feb 26, 2025
ad5045b
advanced link fields (text & WIP)
i-just Feb 26, 2025
9a6a00d
handle "target" advanced link field
i-just Feb 26, 2025
24fe7ec
adjust new tab decorator
i-just Feb 27, 2025
038f4dd
adjust purifier config for aria-label
i-just Feb 27, 2025
efa5019
hand url suffix field
i-just Feb 28, 2025
9efc50f
tidy
i-just Feb 28, 2025
841e0bc
allow any value for the rel attribute
i-just Feb 28, 2025
292e91f
build
i-just Feb 28, 2025
3998fb6
Merge branch 'feature/update-installation-method' into feature/pt-200…
i-just Feb 28, 2025
31597f8
ui amends (WIP)
i-just Mar 5, 2025
c414dc4
link ui - element chip
i-just Mar 5, 2025
f2e5af5
move advanced link fields to a collapsible view
i-just Mar 6, 2025
377a1e0
details form class & style
i-just Mar 6, 2025
729cc6c
build
i-just Mar 6, 2025
155ac9f
tweaks
i-just Mar 6, 2025
85b829a
don't use decorator for the target attr
i-just Mar 7, 2025
ab074be
add "download" advanced link field
i-just Mar 7, 2025
eb94ce2
advanced fields & focus order
i-just Mar 7, 2025
4ebbaeb
bit of a cleanup
i-just Mar 7, 2025
7e9def1
control the focus order
i-just Mar 7, 2025
7b106c7
clean up
i-just Mar 7, 2025
5a1b21b
build
i-just Mar 7, 2025
b3582d4
tweaks
i-just Mar 10, 2025
ef19e40
html purifier adjustment
i-just Mar 11, 2025
43682e9
build
i-just Mar 11, 2025
9c89ce9
tweaks
i-just Mar 20, 2025
8b0cbec
when changing element, place it where the old one was, not as new link
i-just Mar 20, 2025
75eea96
build
i-just Mar 20, 2025
d00fe8a
if link is empty, don't let the suffix linger
i-just Mar 21, 2025
408f5ac
Merge branch '5.x' into feature/pt-2002-links
brandonkelly Apr 12, 2025
dca4567
Move “Advanced Link Fields” to the CKE config
brandonkelly Apr 12, 2025
9bee12f
update to cke v45
i-just Apr 23, 2025
ad0a44a
persist url suffix for non-element links
i-just Apr 24, 2025
6942de3
remove commented out code
i-just Apr 24, 2025
6d54ccf
retain advanced field values when changing selected element
i-just Apr 24, 2025
9032ce7
comments and tiny cleanup
i-just Apr 24, 2025
6731806
add bookmark to the config schema
i-just Apr 24, 2025
6fe75e6
not needed
i-just Apr 25, 2025
027b386
Merge branch '5.x' into feature/pt-2002-links
brandonkelly Apr 26, 2025
4c0dfd7
fix link selection issue
i-just Apr 28, 2025
9f977cf
allow clicking on the whole "choose" button
i-just Apr 28, 2025
c2ca3ba
build
i-just Apr 28, 2025
05e508d
Require html-field 3.3.0+
brandonkelly Apr 28, 2025
0cda68d
Remove unneeded export
brandonkelly Apr 28, 2025
d03389a
Missing `@since`
brandonkelly Apr 28, 2025
c1ca7c2
Release notes
brandonkelly Apr 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"**/*.php": [
"./vendor/bin/ecs check --ansi --fix",
"./vendor/bin/phpstan analyse --memory-limit=1G"
],
"**/*.php": [],
"*": "prettier --ignore-unknown --write"
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
> [!IMPORTANT]
> Third party CKEditor plugins are now registered as modules. See [#363](https://github.com/craftcms/ckeditor/pull/363) for details on how to update existing Craft plugins.

- The link modal UI now reflects Craft’s native Link fields. ([#375](https://github.com/craftcms/ckeditor/pull/375))
- Added the “Advanced Link Fields” setting to CKEditor configs. ([#375](https://github.com/craftcms/ckeditor/pull/375))
- Added `craft\ckeditor\helpers\CkeditorConfig`. ([#363](https://github.com/craftcms/ckeditor/pull/363))
- Added `craft\ckeditor\web\assets\BaseCkeditorPackageAsset::$namespace`. ([#363](https://github.com/craftcms/ckeditor/pull/363))
- Added `craft\ckeditor\CkeConfig::$advancedLinkFields`.
- Added `craft\ckeditor\CkeConfig::advanceLinkOptions()`.

## Unreleased

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"require": {
"php": "^8.2",
"craftcms/cms": "^5.6.0",
"craftcms/html-field": "^3.1.0",
"craftcms/html-field": "^3.3.0",
"nystudio107/craft-code-editor": ">=1.0.8 <=1.0.13 || ^1.0.16"
},
"require-dev": {
Expand Down
Loading
Loading