-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add .lead & .stat to style drop down on WYSIWYG #40
Comments
Maybe @sodevious can help with this one. We need to add these classes to the style drop down on CKEditor: We can use this file: https://github.com/rapidpro/chpro-microsite/blob/custom-ckeditor/rh/client/static/admin/extensions.js#L19-L26 (note this is in the Unfortunately, it doesn't immediately work. |
Spoke with @nicolaslara about this one and going to try setting this up via base.py. |
I've since learned that you can't append here, you have to overwrite. So, that's what we'll do. Could be wrong, but haven't see any other examples. |
We're using django-ckeditor: https://github.com/django-ckeditor/django-ckeditor |
@sodevious and @mtrythall what's happening with this issue? Do we need to complete or add it back to the backlog? |
Ack, we never got around to it. I don't think it's blocking anyone, it's a nice to have. Basically, there's a drop down in the WYSIWYG editor to apply some common styles. It'd be nice to have that drop down work with our styles (instead of the defaults), but it doesn't currently. You can still apply the styles via the code editor on the WYSIWYG, but that's not as user friendly. I still think it'd be great to have, but couldn't figure it out immediately without throwing out a bunch of existing WYSIWYG config. |
Should we move it back to the backlog? Was this a request or something you noticed? |
Something I noticed/We do on most Django CMS efforts. |
We need a way to apply the lead style to the WYSIWYG.
The text was updated successfully, but these errors were encountered: