Brisbane!
Account created on 5 November 2014, about 11 years ago
#

Merge Requests

More

Recent comments

🇦🇺Australia jannakha Brisbane!

Hi team! any plans for a stable release?

🇦🇺Australia jannakha Brisbane!

this is CKEditor5's issue https://github.com/ckeditor/ckeditor5/issues/15908
as per #9 - don't use "shared class names" until CKEditor will fix the issue

🇦🇺Australia jannakha Brisbane!

as per #15 this patch doesn't fix the issue.
if you have:

a.btn|Button
a.btn.btn-small|Button small
a.btn.btn-alert|Button alert

Apply button small and green.
Save.
Re-open editor.
Only Button is selected.
and then it starts behaving weirdly (see screenshot ) by splitting link

🇦🇺Australia jannakha Brisbane!

tested on D11, patch from MR4 applies, tailwind classes applied to a link as expected after the patch.

🇦🇺Australia jannakha Brisbane!

try installing 7.0.11 of Linkit - https://www.drupal.org/project/linkit/releases/7.0.11
and MR37 from for Editor Advanced Link - https://www.drupal.org/project/editor_advanced_link/issues/3534699 📌 Refactor custom JS for CKEditor5 v45+ Active

I tested it on D11.2 - all attributes are kept and saved, no split links appear, you can add additional classes via editor_advanced_link and they are saved together with ckeditor_link_styles

🇦🇺Australia jannakha Brisbane!

Styles is a different plugin, not related to CKEditor Link Styles. Styles requires at least one style, but it's not required for Link Styles.
Link styles has its own tab where you can put link styles.
On D11 I was able to add styles to Link Styles and to Styles and it saved all config.

Can you provide any logs which display any errors? maybe record a video of the glitch? Thank you!

🇦🇺Australia jannakha Brisbane!

Unfortunately, this is how CKEditor5 45+ handles attributes.
As you said, it's not the end of the world and we are getting CKEditor5 for free!

Any feature/bug fixes contributions are welcome!

🇦🇺Australia jannakha Brisbane!

try installing 7.0.11 of Linkit - https://www.drupal.org/project/linkit/releases/7.0.11
and MR37 from for Editor Advanced Link - https://www.drupal.org/project/editor_advanced_link/issues/3534699 📌 Refactor custom JS for CKEditor5 v45+ Active

I tested it on D11.2 - all attributes are kept and saved, you can add additional classes via editor_advanced_link and they are saved together with ckeditor_link_styles

🇦🇺Australia jannakha Brisbane!

looks like this index.php is being abused (from my access log from some soviet hackers):

/index.php/node/

/index.php/node/1}}\"}}'}}1%25>\"%25>'%25><%25={{={@{%23{${dfb}}%25>/
/index.php/node/add/../../web.config
/index.php/node/1}}\"}}'}}1%25>\"%25>'%25><%25={{={@{%23{${dfb}}%25>/
/index.php/node/add/../../package.json
/index.php/node/dfb{{98991*97996}}xca/
/index.php/node/add/%2e%2e%2f%2e%2e%2fGemfile
/index.php/node/add/%2e%2e%2f%2e%2e%2fweb.config
🇦🇺Australia jannakha Brisbane!

the MR doesn't implement the title/description of the issue.
MR only creates stubs out of references without any configuration or recursion limits.

see issue https://www.drupal.org/project/single_content_sync/issues/3511539 🐛 Recursion takes too much memory compared to earlier versions (1.4.6 or earlier) Active which may resolve your recursion issue

🇦🇺Australia jannakha Brisbane!

+1 to MR 154
import/export works on a node that references 46 other nodes
total length of the export file is 16716 lines!

thanks for MR!
please release!

🇦🇺Australia jannakha Brisbane!

can you please create a merge request?
Merge requests speed up development, reviews and releases!

🇦🇺Australia jannakha Brisbane!

thanks for keeping the lights on this module!
when are you planning to release 3.8?
it's a bit misleading to keep issues as 'fixed' without a release :(

🇦🇺Australia jannakha Brisbane!

MR created

🇦🇺Australia jannakha Brisbane!

jannakha made their first commit to this issue’s fork.

🇦🇺Australia jannakha Brisbane!

it should be fixed in MR37 here - https://www.drupal.org/project/editor_advanced_link/issues/3534699 📌 Refactor custom JS for CKEditor5 v45+ Active

please review, test and confirm

🇦🇺Australia jannakha Brisbane!

thanks for reporting and fixing the issue.

RTBC!

🇦🇺Australia jannakha Brisbane!

It's not best practice for one module to be aware of the other module's implementation.
If editor_link changes their attribute names - it will be broken again.

Should all editor advanced fields belong in editor_advanced_link module and editor_file only be responsible for file attributes?
This will simplify the maintenance and remove any conflicts with editor_advanced_link! (same way linkit module is implemented)

🇦🇺Australia jannakha Brisbane!

Sweet!!!
Thanks Mark for reviewing MRs!

🇦🇺Australia jannakha Brisbane!

@seb_r is it possible to port patch #46 to branch of MR37 in https://www.drupal.org/project/editor_advanced_link/issues/3534699 📌 Refactor custom JS for CKEditor5 v45+ Active ?
for 2.3.x

🇦🇺Australia jannakha Brisbane!

nope
doesn't work
disregard previous comment
reverting version to 2.2.x

🇦🇺Australia jannakha Brisbane!

ok, so, after another day of testing both editor advanced link and linkit (and digging into CKEditor's code)
link is getting split (https://youtu.be/b4Ir59uv7Ds) at the time when contextual balloon is visible (CKEditor is handling it here: _showFakeVisualSelection())

once cursor moves off - link is no longer split, but if you click on balloon while the link is split - it leads to random behaviour.

From CKEditor's code: they move cursor to the end of selection so the editor will not try to create a new link after cursor
see https://git.drupalcode.org/project/linkit/-/merge_requests/149/diffs#c91...
that's coming from how they handle link re-rendering (here's end result: https://youtu.be/hYwEEnF_gUk)

extra testing required: when decorators (target attribute) are enabled - displayedText and custom attributes are not part of args in the event handler (it leads to unnecessary re-calculation of ranges etc), maybe a good idea will be to check when decorators are involved - do not process custom attributes?

I've updated editor advanced link as well, I've tested them separately and together.

What do you think?

🇦🇺Australia jannakha Brisbane!

jannakha created an issue.

🇦🇺Australia jannakha Brisbane!

MR doesn't apply to 7.0.10 - is that because it's off latest unreleased dev?

🇦🇺Australia jannakha Brisbane!

jannakha created an issue.

🇦🇺Australia jannakha Brisbane!

jannakha created an issue.

🇦🇺Australia jannakha Brisbane!

Thanks for testing @inregards2pluto

MR 37 contains code from #32 patch with a fix.

Do you have Linkit enabled when you tested?
Is it possible to record a video of how link splitting appears?

🇦🇺Australia jannakha Brisbane!

MR !149 fixes the issue
- tested on D11
- not tested with any other CKEditor5 plugins/modules

🇦🇺Australia jannakha Brisbane!

jannakha created an issue.

🇦🇺Australia jannakha Brisbane!

can someone test MR 37 from
https://www.drupal.org/project/editor_advanced_link/issues/3534699#comme... 📌 Refactor custom JS for CKEditor5 v45+ Active

I have tested it with images - it looks like it's working - maybe it will work for someone else? if not - put it back into needs work.

🇦🇺Australia jannakha Brisbane!

please review MR 37 in https://www.drupal.org/project/editor_advanced_link/issues/3534699#comme... 📌 Refactor custom JS for CKEditor5 v45+ Active

🇦🇺Australia jannakha Brisbane!

Please review MR 37, it also resolves these issues:
#3519379: Fix keyboard accessibility of advanced attribute fields
#3349389: Fix image/media link attributes being lost

I've tested MR 37 on D11 with multiple links in same CKEditor5 window, opening/closing/editing/editing image as a link - try to break it!
let me know if there are any errors.

(haven't tested it with linkit yet)

🇦🇺Australia jannakha Brisbane!

jannakha changed the visibility of the branch 2.3.x to hidden.

🇦🇺Australia jannakha Brisbane!

jannakha changed the visibility of the branch 3534699-minimal to hidden.

🇦🇺Australia jannakha Brisbane!

@mark_fullmer why not create a MR out of #32?

🇦🇺Australia jannakha Brisbane!

I have tested MR#43 and #32 on D11.2.

Unfortunately, all issues are still there:
- link is splitting
- values in advanced tab (and display text) appear/disappear randomly
- multiple links mix advanced values (even without clicking update)
- tab order of the text fields is not correct and advanced tab is reachable by keyboard

here's testing: https://youtu.be/d80reijHsD0 and https://youtu.be/maspn44C1nU

Perhaps, editor_advanced_link does need a proper refactoring for CKEditor v45+ not just a patching

🇦🇺Australia jannakha Brisbane!

fixed by https://www.drupal.org/project/linkit/issues/3535479 📌 Refactor Linkit plugin for CKEditor5 v45+ Active

🇦🇺Australia jannakha Brisbane!

please use a proper development process (do not commit directly to dev branch, create a fork and then a merge request): https://www.drupal.org/docs/develop/git/using-git-to-contribute-to-drupa...

patch from #3 commit attached and applies to Drupal 10.5 and fixes the issue

🇦🇺Australia jannakha Brisbane!

all green!

🇦🇺Australia jannakha Brisbane!

thank you for your contribution!
MR looks good

🇦🇺Australia jannakha Brisbane!

as per #18

🇦🇺Australia jannakha Brisbane!

as per #11

🇦🇺Australia jannakha Brisbane!

fixed in #3549897

🇦🇺Australia jannakha Brisbane!

Since Bootstrap 4 is no longer in active development by TWBS team and keeping Bootstrap 4 in line with latest SASS compilers will take a significant effort (more and more deprecations will be added to sass v1.34+)

The solution is to use old version of Sass compiler:
https://github.com/twbs/bootstrap/issues/34051#issuecomment-845838276

please use:

npx sass@1.32  scss/style.scss css/style.css
npx sass@1.32  scss/ck5style.scss css/ckstyle.css
🇦🇺Australia jannakha Brisbane!

enabled big pipe
enabled js aggregation
Drupal 11
Bootstrap4 v3

no issues, no errors, Local tasks drop down shows and operates as expected

🇦🇺Australia jannakha Brisbane!

also added code these fixes:
🐛 Schema is missing for few parameters Active feat: Schema is missing for few parameters
🐛 Use minified js bundle in libraries.yml Active feat: Use minified js bundle in libraries.yml

🇦🇺Australia jannakha Brisbane!

updated requirement to jquery 4
updated/run tests with new jquery - all tests pass (see screenshot )

please review/release

🇦🇺Australia jannakha Brisbane!
🇦🇺Australia jannakha Brisbane!

jannakha created an issue.

🇦🇺Australia jannakha Brisbane!

all green, thank you for your contributions!
please release!

🇦🇺Australia jannakha Brisbane!

phpcs is still red

🇦🇺Australia jannakha Brisbane!

MR 104 is working and fixed the issue
thank you for your contributions!

please release :-)

🇦🇺Australia jannakha Brisbane!

hurray for new version of Boostrap!

🇦🇺Australia jannakha Brisbane!

to be ported to v4 before release

🇦🇺Australia jannakha Brisbane!

- version 3 is no longer supported - should this be ported to v4?
- a lot of changes in the merge request are not related to the issue description, it makes it extremely difficult to test and review
- If there are issue with formatting or phpcs or documentation - please create a separate issue for that
- https://en.wikipedia.org/wiki/Comparison_of_American_and_British_English

🇦🇺Australia jannakha Brisbane!

@thefancywizard can you create MR with patch #18? you can get push access to existing fork and MR37 will include your changes
It will really help with reviewing/testing process

thank you!

🇦🇺Australia jannakha Brisbane!

thanks for adding/fixing CI
good to be merged

🇦🇺Australia jannakha Brisbane!

all good,
ready to be merged

🇦🇺Australia jannakha Brisbane!

works,
ready to be merged

🇦🇺Australia jannakha Brisbane!

css lint returns error

🇦🇺Australia jannakha Brisbane!

What I'm not sure with this solution is how would I enable floating labels on webform? or on edit entity form?
do I need to override each textbox/selectbox in hooks to insert into attribute 'floating_label' => 1 ?

How do you do it?

🇦🇺Australia jannakha Brisbane!

Thanks for your contributions
Ready to be merged

🇦🇺Australia jannakha Brisbane!

Yes, but you should load all of css from all 3 themes - it’s like loading bootstrap 3 times!

If templates are overridden in subtheme, they’ll be used in subsubtheme unless overridden in subsubsub theme.

Are you still having issue with this?

If yes - what exactly is an issue? Which files are not loading? can you provide more details on the sub-themes and configuration? (Screenshots or zip files)?

🇦🇺Australia jannakha Brisbane!

floating labels will be attached to custom created fields
or via hook alter

maybe it should be a setting configuration

🇦🇺Australia jannakha Brisbane!

fixed in https://www.drupal.org/project/bootstrap5/issues/3396810 🐛 Wrong URL for Style Guide URL Bootstrap5 Setting page Fixed

🇦🇺Australia jannakha Brisbane!

port/test on v4

🇦🇺Australia jannakha Brisbane!

you shouldn't be loading sub-theme if there's a sub-sub-theme
all sub-theme styles should be incorporated into sub-sub-theme - so you have just one style

🇦🇺Australia jannakha Brisbane!

still an issue v4 (Bootstrap 5.3.7)

🇦🇺Australia jannakha Brisbane!

jannakha made their first commit to this issue’s fork.

🇦🇺Australia jannakha Brisbane!

thanks for fixing this and reporting it to drupal/core

tested and works as required

🇦🇺Australia jannakha Brisbane!

thank you for your contribution.
tested and ready to be merged in.

🇦🇺Australia jannakha Brisbane!

thank you for your contribution.
tested and works as expected.

🇦🇺Australia jannakha Brisbane!

tested - works well!
thank you for your contribution.

🇦🇺Australia jannakha Brisbane!

jannakha made their first commit to this issue’s fork.

🇦🇺Australia jannakha Brisbane!

jannakha made their first commit to this issue’s fork.

🇦🇺Australia jannakha Brisbane!

MR is not related to the issue and it's v3
moving implementation to #3542885 (created it before finding this old issue)

🇦🇺Australia jannakha Brisbane!

is not a set value. pagination_heading_level is configured on the view itself by drupal/core.
This change came in with drupal/core (10.2.7 => 10.3.0) config.

If this has to be removed - please submit an issue to the core as it's a core functionality.

🇦🇺Australia jannakha Brisbane!

- How do you reproduce this issue? I can't reproduce on my local.
- Re: Patch #2: How does removing commented out lines resolve the issue?

Production build 0.71.5 2024