-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
django-tinymce==4.0.0: formatselect is not rendered in toolbar #470
Comments
In version 4, we migrated from TinyMCE 5 to TinyMCE 6. Search for |
Thank you for the quick help!
The default for |
Oh yes, absolutely, we need to fix that! |
Would you like to check the pull request referenced above? |
The pull request looks good to me for this issue in particular. However, I have also cross-checked the more extensive example with version Yes, there are. Additionally, there is a mismatch between:
So, the updated configuration should be: TINYMCE_DEFAULT_CONFIG = {
"height": "320px",
"width": "960px",
"menubar": "file edit view insert format tools table help",
"plugins": "advlist autolink lists link image charmap print preview anchor searchreplace visualblocks code "
"fullscreen insertdatetime media table paste code help wordcount spellchecker",
"toolbar": "undo redo | bold italic underline strikethrough | fontfamily fontsize blocks | alignleft "
"aligncenter alignright alignjustify | outdent indent | numlist bullist checklist | forecolor "
"backcolor casechange permanentpen formatpainter removeformat | pagebreak | charmap emoticons | "
"fullscreen preview save print | insertfile image media pageembed template link anchor codesample | "
"a11ycheck ltr rtl | showcomments addcomment code",
"custom_undo_redo_levels": 10,
"language": "es_ES", # To force a specific language instead of the Django current language.
} (matching yours) However, I have noticed that in both versions, you don't see any interactable changes in the toolbar for the following items:
I'm not sure if these require any other special treatment to show up. The menu bar seems fine, but I can't guarantee I didn't miss something 🤣 |
Thanks a lot for your review ❤️, I'll suggest a second patch for these updates. |
Updates suggested in pr #472 |
Thank you for addressing this issue so promptly and professionally. Your quick and efficient handling of the matter was truly extraordinary. This experience has significantly increased my trust in the |
Thanks for your kind words! |
I think we can consider now this as fixed. Thanks very much for the report. |
Issue Description
I am experiencing an issue with
django-tinymce==4.0.0
in my project. When using the defaultTINYMCE_DEFAULT_CONFIG
, theformatselect
option is not rendered in the toolbar.Configuration Details
Here is the configuration being used:
Observed Behavior
The
formatselect
option does not appear in the toolbar as expected:Workaround
When downgrading to
django-tinymce==3.7.1
, theformatselect
option is rendered correctly:Reproduction Steps
I have verified this behavior in a minimal Django application that only includes
django-tinymce
. The relevant parts of the application code are as follows:HTML Template: (myapp/testing.html)
View:
Model:
Form:
Tested Browsers:
Request for Assistance
Could you please investigate why the
formatselect
option is not rendered in the toolbar withdjango-tinymce==4.0.0
? Any guidance or solutions to resolve this issue would be greatly appreciated.Thank you for your assistance.
The text was updated successfully, but these errors were encountered: