Needs work
Project:
Drupal core
Version:
main
Component:
views.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Jun 2016 at 15:36 UTC
Updated:
6 Jun 2024 at 18:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dom. commentedAdding patch.
Before patch:

After patch:

Comment #3
dawehnerI remember back in d7 wysiwyg in the modal was just broken. Maybe (hopefully) this is no longer the case ...
Comment #4
dawehnerOH yeah, do you mind also uploading a patch :)
Comment #5
dom. commentedOups ! Forgot to link the patch ! It's a very easy one !!
Comment #6
dawehnerWe could remove the line completely ...
Comment #7
jibranNew features can only be added to 8.2.x
Comment #8
dom. commented@dawehner: indeed, I just though it was more explicit since it is a feature change. But indeed, default value :)
@jibran: patch also applies cleanly on 8.2.x
Comment #9
dawehnerCool! If things works, perfect!
Comment #10
tstoecklerHas anyone tried uploading an image through the editor dialog? This modal-in-modal was broken for a long time and was the reason for disabling the editor.
Comment #12
jrockowitz commentedThere is still issues with modal-in-modal.
#2741877: Nested modals don't work: opening a modal from a modal closes the original
Comment #14
Anonymous (not verified) commentedComment #16
jibranDuplicate of #2900594: CKEditor not available for Views "text" areas
Comment #17
gagarine commentedUsability is preferred over UX, D7UX, D8UX etc. See https://www.drupal.org/issue-tags/topic
Comment #21
philyPatch #8 works like a charm using Drupal 8.6.14, PHP 7.2.14
Thank you
Comment #22
lendudeWe need a test for this, because currently this probably still breaks on #2741877: Nested modals don't work: opening a modal from a modal closes the original
Comment #26
dom. commentedJust updating patch to 9.1.x / 9.2.x
Comment #27
abhijith s commentedApplied patch #26 .The WYSIWYG editor is available in views text area fields after the patch.But its unable to add links and image in the text area.Please fix it. Adding the recording below

Comment #30
karimbou commentedPatch isn't applying on Drupal 9.4.x aswell as 9.3.x
In Text.php we have now :
Can we maybe just switch editor to TRUE ?
Comment #31
ankithashettyYeah, patch in #26 failed to apply. Here is the re-rolled patch, thanks!
Comment #33
socialnicheguru commentedI am on the latest 9.2
Patch #26 adds ckeditor to global custom fields
But it strips links when they are added.
I wonder about the other patches.
Ckeditor works as expected in a normal text area
Comment #34
dawehnerI've tried out to use this with ckeditor5. Here is a little video: Here
Summary of the video: The 'modal' of the image alt text is not appearing. On top the toolbar sometimes hovers on top of everything else.
Comment #35
dom. commentedTrying the patch using D10 and CKEditor 5 : excitement of not having dialog in CKE5 made me believe that would work out of box solving our issue here.
This is not that far actually. But still some problem remains in some functionalities : namely one that has those "balloon"-like expected, for instance link or image plugin.
Expected :


Observed:
Therefore I guess at the moment, we can consider the initial "dialog" issue to transfer to a "balloon" issue.
Reproduction
- Apply the patch on drupal 10
- Configure a text format for CKE5
- Add a textarea in the header of one of the view
- Try to make a link or add an image within that textarea
Comment #36
tonytheferg commentedAny way we could include the global text field in this patch also?
Comment #40
pfrillingI created a merge request and confirmed that the CKEditor loads correctly and the image popup seems to be working properly.
I'm leaving this as needs work since it will require an automated test.