Closed (fixed)
Project:
USWDS Ckeditor Integration
Version:
3.1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
24 Jul 2024 at 20:35 UTC
Updated:
9 Jul 2025 at 17:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
smustgrave commentedThis suppose to be in review?
Comment #4
smustgrave commentedJust fyi for when this gets put up for review all checks need to pass
Phpstsn next major is known issue so can ignore that one
Comment #5
electrokate commentedOk thanks, I'm still working on the collapsed checkbox feature.
Comment #6
smustgrave commentedSounds like a good feature.
Comment #7
smustgrave commentedComment #13
smustgrave commentedRebased but the there a ton of out of scope changes in the plugin js that should be reverted as it also breaks accordions.
Comment #14
smustgrave commentedSo I think we can go about this a different route. Instead of through the text formatter lets add 2 new commands to accordion. This way the editors have the power
Comment #15
electrokate commentedHey smustgrave! Thank you so much for rebasing and trying to get this merged. What can I do to help? I am hoping to get it merged so we don't have to add as a patch going forward.
Does this need to be done to merge?
"Instead of through the text formatter lets add 2 new commands to accordion. "
If so can you elaborate?
Comment #16
smustgrave commentedIdeally these settings would be attached to the ckeditor plugin so editors can attach per accordion group.
Problem with the text formatter approach is it applies everywhere. So if you don't want certain settings you're stuck.
Comment #17
electrokate commentedOk thank you. In the meantime, here is a patch with your rebase from 85.diff, which cleanly applies to 3.1.3, in case anyone needs it. (the 85.diff was not applying for me, I just re-compiled the /build/uswds_accordion.js)
Comment #18
electrokate commentedsorry, the last one was blank.
Comment #19
electrokate commented@smustgrave, just for clarity, currently (in this patched version), there are global settings, which can be set one way or another (in the text editor interface), and then those can be overridden in each accordion that is added in the WYSIWYG, through the use of the dialog box.
Comment #20
smustgrave commentedIn a perfect world we could apply these to individual accordions but know I set the precedent with the global settings. So it's fine to continue on that path vs chasing perfect solution. As we would have to change that other stuff too.
Comment #22
smustgrave commented