Brisbane!
Account created on 5 November 2014, over 10 years ago
#

Merge Requests

More

Recent comments

🇦🇺Australia jannakha Brisbane!

@mark_fullmer have a look at MR 127 - bare min changes

🇦🇺Australia jannakha Brisbane!

minimal refactoring for CKEditor 45+ to make sure all linkit attributes persist.
tested on D11.2 with ckeditor5_plugin_pack link attributes and editor_advanced_link with patch from https://www.drupal.org/project/editor_advanced_link/issues/3534699 📌 Refactor custom JS for CKEditor5 v45+ Active

🇦🇺Australia jannakha Brisbane!

jannakha changed the visibility of the branch 3535479-refactor-linkit to hidden.

🇦🇺Australia jannakha Brisbane!

thank you for your contribution.

can you please create a fork and merge request
this will speed up review, testing and release process.

🇦🇺Australia jannakha Brisbane!

@nicholass
when you're updating dependencies, especially when Drupal is updated, run command to check for any major versions of contrib modules:
composer outdated -M -D

composer update usually just updates minor version by default (eg 6.1 to 6.2) if dependency has carrot (^) "drupal/linkit": "^6.0", but not to 7.0

🇦🇺Australia jannakha Brisbane!

in twig template try:
{{ dump(ds_content) }}
you'll see structure of your DS render array, your copy field should be there:

0 array:7 [▼
  "field_rcks_header_logo_with_text" => array:18 [▶]
  "group_rcks_details" => array:21 [▶]
  "field_rcks_disclaimer_text" => array:18 [▶]
  "group_rcks_table_of_content" => array:19 [▼
    "field_rcks_special_comments" => array:2 [▶]
    "display_field_copy:node-rcks_spec_systems_toc" => array:16 [▶]
    "display_field_copy:node-rcks_data_sheets_toc" => array:16 [▶]
    "field_rcks_add_maintenance_guide" => array:18 [▶]
    "#attached" => array:1 [▶]

In my case copy fields are under a field group:
{{ ds_content['group_rcks_table_of_content']['display_field_copy:node-rcks_spec_systems_toc'] }}

🇦🇺Australia jannakha Brisbane!

I take it back - patch is complete and was ported to an MR. Thank you @diegopino for your contribution!

MR is good for review.

🇦🇺Australia jannakha Brisbane!

The patch is incomplete:

- example of config for field copy:

id: spec_id_copy
label: 'Spec ID copy'
ui_limit: 'some_content_type|*'
type: display_field_copy
type_label: 'Copy field'
entities:
  node: node
properties:
  field_id: node.some_content_type.field_specification_id

- use example from DS on how to define schema for a field ./ds/config/schema/ds.field.schema.yml

🇦🇺Australia jannakha Brisbane!

patch #10 ported to MR
very rough implementation

🇦🇺Australia jannakha Brisbane!

#10 patch doesn't apply to v2

🇦🇺Australia jannakha Brisbane!

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

🇦🇺Australia jannakha Brisbane!

Drupal 7 reached EOL.

🇦🇺Australia jannakha Brisbane!

tested - all good.
pipeline is green.

thanks for your contribution.

🇦🇺Australia jannakha Brisbane!

is that still an issue?
please provide more details:
- Drupal version
- php version
- can you provide screenshots?
- steps to reproduce?

Copied field are displayed in "Disabled" fields on all custom Display View modes.

🇦🇺Australia jannakha Brisbane!

Can you please check that the copied fields belong to a correct content type?

here's config of a field:
https://www.drupal.org/files/issues/2025-07-29/config-copy-field.png

🇦🇺Australia jannakha Brisbane!

Code needs to be reviewed by someone who has not committed to MR.

This issue has to be tested as well.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its official end of life

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its official end of life.

🇦🇺Australia jannakha Brisbane!

jannakha created an issue.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its end of life.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its end of life.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its end of life.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its end of life.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its end of life.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its end of life.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its end of life.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its end of life.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its end of life.

🇦🇺Australia jannakha Brisbane!

Drupal 7 has reached its end of life.

🇦🇺Australia jannakha Brisbane!

Drupal 8 is out of support.
Please upgrade to Drupal 10+ and use latest version of the module.

🇦🇺Australia jannakha Brisbane!

Drupal 8 is out of support.
Please upgrade to Drupal 10+ and use latest version of the module.

🇦🇺Australia jannakha Brisbane!

jannakha changed the visibility of the branch 3249367-entity-browser-modal to hidden.

🇦🇺Australia jannakha Brisbane!

Tested on D10.5:

- Without patch entity browser window is opened by pressing Enter on any text field
- MR2 installed, tested, fixes the issue

Please release?

🇦🇺Australia jannakha Brisbane!

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

🇦🇺Australia jannakha Brisbane!

@pookmish thank you for raising your hand!
+1 for new co-maintainers for this module!

@vladimiraus - we need this module D11 ready too!

🇦🇺Australia jannakha Brisbane!

try these patches: https://www.drupal.org/project/editor_advanced_link/issues/3534699 📌 Refactor custom JS for CKEditor5 v45+ Active
and linkit: https://www.drupal.org/project/linkit/issues/3535479 📌 Refactor Linkit plugin for CKEditor5 v45+ Active

CKEditor5 v45+ had a big refactoring of links (in v44) so things have changed a lot.

🇦🇺Australia jannakha Brisbane!

@jcandan I'll see if have some time next week to check how to handle link attrs on media (it's something to do with their upgrade in v44 and https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-lin...)

🇦🇺Australia jannakha Brisbane!

thank you @liuyuanchao !
please create merge request - it will trigger pipeline and we'll see the status of the fixes.

🇦🇺Australia jannakha Brisbane!

jannakha created an issue.

🇦🇺Australia jannakha Brisbane!

can you please set default branch to 3.0.x?

🇦🇺Australia jannakha Brisbane!

@jeroen dost - try patch from https://www.drupal.org/project/editor_advanced_link/issues/3534699 📌 Refactor custom JS for CKEditor5 v45+ Active for 2.3

🇦🇺Australia jannakha Brisbane!

- add tests
- fix tests
- make setting "Print all views results" applicable per "Print view" link (not a global setting), so editors have a choice of printing a page or full view - (it can be a query string argument on a print link, eg ?print_all=1)

Also it's possible to achieve this with printing a copy of a view which doesn't have pagination

🇦🇺Australia jannakha Brisbane!

tested on D11.2 - as per fix - Access denied is displayed

🇦🇺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!

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

🇦🇺Australia jannakha Brisbane!

for comment #9 - it's not this modules' issue
see linkit: https://www.drupal.org/project/linkit/issues/3535479 📌 Refactor Linkit plugin for CKEditor5 v45+ Active

CKEditor5 v45+ removes all attributes by default, unless Drupal's module's tries to persist them.
unfortunately CKEditor5 team doesn't want to implement any of the link attributes like title, id, class, etc - so we are stuck with our own implementation.

I would actually change status of this issue to "closed (won't fix)" - but we'll keep the discussion for now.

For example, if you uninstall editor_advanced_link and use CKEditor's own module which adds open in new tab ( https://www.drupal.org/project/ckeditor5_plugin_pack ) you'll have the same issue.

all other modules have to fix persistence of their own attributes.

🇦🇺Australia jannakha Brisbane!

can work with batch support?

🇦🇺Australia jannakha Brisbane!

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

🇦🇺Australia jannakha Brisbane!

use css to hide any HTML containers
entity print allows to include extra css, so @media doesn't have to be set to print

🇦🇺Australia jannakha Brisbane!

PrinceXML is a proprietary and paid library.
You can ask their developers to create a plugin for entity_print.
Here's an example how to create a plugin for your own pdf engine:
https://www.drupal.org/project/entity_print/issues/3063998 🐛 mPDF Plugin Needs review

🇦🇺Australia jannakha Brisbane!

Has this been resolved in v2?
please reopen add more details if it's still an issue

🇦🇺Australia jannakha Brisbane!

most free PDF libraries have limited support for CSS (and most don't support CSS3, example flex support)

please provide more details:
- Drupal version
- how do you attach css to printing?
- are styles attached in debug mode?
- attach screenshots of produced PDFs

🇦🇺Australia jannakha Brisbane!

@hitfactory thank you for your notes

can you please resolve merge conflicts?

🇦🇺Australia jannakha Brisbane!

please resolve merge conflicts

🇦🇺Australia jannakha Brisbane!

Currently it’s
9.4^ || 10^ || 11^

There will be more D11 compatibility issues coming

There’s no visibility of how many Drupal 9-10.3 installations still out there

Will be good to move on to proper versioning

🇦🇺Australia jannakha Brisbane!

Should all 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!

🇦🇺Australia jannakha Brisbane!

is that still an issue?

🇦🇺Australia jannakha Brisbane!

jannakha changed the visibility of the branch 8.x-2.x to hidden.

🇦🇺Australia jannakha Brisbane!

latest release (2.17) needs CI fixed.

🇦🇺Australia jannakha Brisbane!

jannakha changed the visibility of the branch 3466043-fix-phpcs-and to hidden.

Production build 0.71.5 2024