-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: bundle the a11ychecker plugin #86
Conversation
Test plan: - Run `./ck.sh build` - Use the custom build in `liferay-portal` - Enable the `a11ychecker` plugin - See it working (Note: until [liferay#85](liferay#85) is merged you will get an error about missing CSS files from the `balloonpanel` plugin but it won't prevent the `a11ychecker` plugin to work - the styles will just be a bit broken)
I don't think we should ship anything that defines In other words, the question is, is there a way to configure About the adapter, I am not sure if it is active by default. |
About the adapter, it is optional. It provides deep integration of CKEditor and jQuery that lets you use the native features of jQuery when using CKEditor. It is only needed if you want to be able to use CKEditor as a jQuery component, for example: About the point on using a provided jQuery instance, I will now investigate this and today work on it. |
Yeah, I know, as you can see from the adapter documentation that I linked. |
Just to reflect some chats in Slack and various other places (principal prior discussion was on this PR), here is a bit of a rundown:
In short, to summarize our options, I think we have the following choice:
Given that this is a question of prioritization and resource allocation, I think we are going to need PM involvement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes to prevent accidental merge.
Until @jbalsas has a chance to discuss investment with @david-truong, this one is on hold.
Or |
Always a good option. |
1 seems like a horrible solution since we spent so much time removing jquery from our codebase |
So, I think we can close this since we won't be going forward at least in this way. I don't think anyone's excited about adding back jquery and a plugin that depends on a years-long abandoned library, so... let's kill this for now and rethink the approach. We can prioritize once we've discussed it and create a new independent epic for this. Closing! |
React will fade away one day. jQuery will always be there for you when needed. |
Except in DXP, where it is disabled by default since 7.3 (LPS-95726). |
Test plan:
./ck.sh build
liferay-portal
a11ychecker
pluginNotes:
balloonpanel
plugin but it won't prevent thea11ychecker
plugin towork - the styles will just be a bit broken)
jQuery
object:a11ychecker
(and also./ckeditor/adapters/jquery.js
) expectwindow.jQuery
to be definedbut we can improve that later on if everyone agrees