How to change add media button in moodle tinymce editor? - tinymce

I've been learning Moodle CMS and I'm stuck in one problem. I'm using tinymce as a default editor. There's insert video button but popup window doesn't have full functionality as an original tinymce insert video popup window.
How can I change it? I want to choose HTML5 from Type and control the Dimensions of the video. But now it's not possible in Moodle Tinymce Editor.

After hours of searching google, I came to an answer on the moodle forum
Here's what I did to use original tinymce media insert:
1) Adding media plugin to the config file: lib/editor/tinymce/lib.php
'plugins' => 'safari,...,media',
2) From moodle admin settings of tinymce editor, add media button.

Related

I'm having trouble while customizing the TinyMCE in OpenedX (Devstack). How can I fix?

I'm having trouble customizing the TinyMCE in OpenedX Devstack. Normally I didn't have any problems in front-end-course-authoring TinyMCE editor, but when I installed the 'front-end-lib-content-components' app for customization, the data didn't show up in the editor. I did not change the props, they are the same as the default ones.
(click for larger images)

how to change tinymce image upload dialog?

Is there a possibility to change image dialog of tinymce?
I want to add a checkbox (or input) for user to select it wants thumbnail to be created. I was looking for an hour and couldn't find it.
Thanks
TinyMCE's image dialog does not have this as a part of its standard distribution but as the editor is released under an open source license you could certainly modify the source code to do what you want. If you download the dev version of the editor you get the unminified versions of all the plugins.

Unable to select image file with tinyMCE's file browser

I am using TinyMCE 3.2.4 with my CMS (ModX Evo 1.0.10). I am having an issue with the image/file browser.
The pop up window opens and I can see all the files I have loaded on to the server but I cannot select any to add to the Rich Text area. Permissions are fine, I can even upload an image, but nothing happens when I click one to add it.
I have tried re-installing TinyMCE and the CMS to no avail. Would anyone know how to fix this?
I never had problems with 1010
But for 1011 you can see this fix:
[#10068] tinyMCE no add images from KCfinder
https://raw.github.com/dmi3yy/evolution/master/install/changelog.txt
So try upgrading if you haven't already.

django-tinymce in django-admin popup window display blank

I followed django-tinymce document configuration step by step and finally can see tinymce editor in django-admin pages.
But when I click Image button, the popup window is blank. And the title of popup window is '{#advanced_dlg.image_title}' like something wrong about parse.
The HTML view button is the same.
I know that 'document.domain' may solve it, but I set 'document.domain' is no help to above.
Is the associated tinymce plugin activated in your tinymce config?
{#advanced_dlg.image_title} looks like the plugin (and the language files) have not been loaded.
You amy use Firebug or any other developer web tool with a console and type in the following to find out which plugins have been loaded:
tinymce.editors[0].plugins

How to display SVG in Eclipse?

I'm new to Eclipse and trying to display a SVG file in an Eclipse program. I have downloaded Batik plugin and installed it. This is my first time working with plugins so I don't know anything. I would like to display a SVG picture when I click on a button. Thanks.
One possible option is to open a view/editor with the embedded SWT browser. Many browsers now support SVG content, so you could generate inline SVG inside an HTML document and set the browser to display it. See http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet136.java?view=co and others at http://www.eclipse.org/swt/snippets/
Try this image editor plugin. http://marketplace.eclipse.org/content/docfacto-toolkit#.UujWxmTFIhg. An image editor "Beermat" is included in the toolkit. Hope it solves your problem.