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

JKingsnorth’s picture

Status: Active » Closed (fixed)

Hi, 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.

JKingsnorth’s picture

Status: Closed (fixed) » Closed (duplicate)
Andrés Chandía’s picture

Status: Closed (duplicate) » Active
Related issues: +#2331383: How to add "code" plugin to tinymce

Please, see this comment: https://www.drupal.org/node/2331383#comment-9136579
there is an implication for OA that you may fix.

Thanks.

Argus’s picture

@Andrés Chandía please explain what you mean. What implication?

Andrés Chandía’s picture

Ok, @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.

Argus’s picture

Status: Active » Closed (duplicate)

Wysiwyg 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