Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi there, I'm not sure if I have to address me to the OA issues, because is a tinymce issue, but as it is inside the OA structure maybe there is a specific way to proceed, if not, where should I address this issue?
the thing is that I want to add a new plugin to the tinymce interface, I have followed the advice of Argus (Try https://drupal.org/project/code_snippet) in the related issue, but it didn't work for me.
I have also tried unsuccesfuly this solution:
If you have access to add settings to the TinyMCE config
style_formats : [{title : 'Code', inline : 'code'}]
What this will do is add a "code" item in the Style drop down that will wrap the selected text in the code tags.
Comments
Comment #1
JKingsnorth CreditAttribution: JKingsnorth commentedHi, this is really a duplicate of several issues in the 'Wysiwyg' issue queue: #337017: how to add tinymce plugin? There is quite a lot of discussion there and in the linked issues.
If you still require assistance then reopening this issue inside the Wysiwyg module issue queue might be your best bet, since it is not really an Open Atrium issue specifically.
Googling for 'drupal add tinymce plugin' also seems to return some useful results.
Comment #2
JKingsnorth CreditAttribution: JKingsnorth commentedComment #3
Andrés Chandía CreditAttribution: Andrés Chandía commentedPlease, see this comment: https://www.drupal.org/node/2331383#comment-9136579
there is an implication for OA that you may fix.
Thanks.
Comment #4
Argus CreditAttribution: Argus commented@Andrés Chandía please explain what you mean. What implication?
Comment #5
Andrés Chandía CreditAttribution: Andrés Chandía commentedOk, @TwoD says: The error you're seeing is fixed in Wysiwyg 7.x-2.x-dev and could be caused by server security settings (I made a small mistake which caused 7.x-2.2 to attempt to read the contents of a local file over HTTP, my bad...) That could actually cause issues similar to the ones you're seeing so I would recommend to try the -dev snapshot.
OA is using 7.x-2.2 so the errors mentioned by @TwoD are not corrected.
Comment #6
Argus CreditAttribution: Argus commentedWysiwyg is added to OA through Panopoly, so any issues should be adressed there. Besides that it is really confusing to post the same issue in 2 different places. I really would like to close this issue and point to #2331383: How to add "code" plugin to tinymce