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
Related
For my extension in VSCode I have a html document with a file link in the html. It appears blue and underlined in the webviewpanel, but when I click on it, nothing happens. Is there a way to click on the hyperlink and make it load the document?
It is harder because of security reasons to link to a local resource in a webviewPanel. I found a work around solution to link to a command that opens a file in the html.
I try to create a simple hello world plugin for Typo3. I have the code and all is fine, plugin is installed and i added it to the page as a content. But the controller is never called and templates are never rendered.
I followed this tutorial https://docs.typo3.org/typo3cms/ExtbaseFluidBook/4-FirstExtension/Index.html
and even installed their extension from github. No effects, Typo3 wont render anything. Pls, send help.
EDIT
I just installed a "Preconfigured Distribution" from extensions manager and suddenly all plugins work. It will do for now, as long as I see my extension working.
Probably you just forgot to include the static TypoScript in the root-template for you page.
On the way to create manually extensions there can be many 'stones' which make it difficult to make it right or to find a fault, but the hint above is the first thing to verify / configure.
Usually for creating extensions another extension is used, it's called Extensions Builder and can be found here. This extension creates a lot of basic code and simplifies the first steps very much.
You have to make your TypoScript selectable in BE with this line in you ext_tables.php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('yourextkey', 'Configuration/TypoScript', 'Title of your Extension');
After adding this line, clear the System-Cache (the "red one") and go to the Template-module in Backend.
While in template-module, select your rootpage in the pagetree. On the top you should see a dropdown menu where you have to select Info/Modify.
In the Info/Modify-Page, select Edit the whole template record and after this, swith to the tab Includes.
There you should see Selected Items and Available Items. Your Extension should be in the available items, where you select it and press the save button.
If you have done everything else correct, now your TypoScript setup should be loaded and your plugin should output something.
No extension and frameworks
Hello!
I opened https://jsfiddle.net/ in my Firefox browser and expected to see "Frameworks&Extensions" section there. Howevere, it was not there. Can someone please advice what should I do in order to add the section? Please follow the image link for more details. I suppose that I should add some add on to my browser but can't guess what should it be. It is also not working in Chrome.
As outlined in a recent post on medium the ability to add frameworks and extensions has moved into the Javascript pane within JsFiddle.
Within a fiddle, click on the 'Javascript' 'button' at the top right of the Javascript pane to reveal the new menu.
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.
I created a javascript file in Plunker and I want to debug it. When I open 'Sources' panel, I don't see js file that I created. I only see plenty of Plunker js files. Please advice. Thanks
Another way is to put this in your javascript file
debugger;
and leave the console open, which will force the debugger to not only stop there but to also open the file.
You have two main options to drill down to the source file that you created.
1. Use the pop-up window mode of the preview panel
By default, the previewer runs inside an <iframe> inside the plunker webapp. You can ask plunker to show the previewer in a separate window by clicking the blue expand icon in the top right of the preview window. If you open dev tools for the pop-up window, you will only see your source files.
2. Right click the preview and hit inspect element
Doing it this way will let you use the embedded, live preview and will give you a shortcut to drill down to the DOM associated with your code.
The picture is worth thousand words...
F12 and then select sources; plunkerPreviewTarget has the source code
A quicker way I found is to simply grab the unique id of your plnk.
In normal 'edit' mode URL will be something like
http://plnkr.co/edit/P0fqZG6G6khKKrtfBkDP?p=preview
Simply append this id - P0fqZG6G6khKKrtfBkDP to the URL
http://run.plnkr.co/plunks/ therefore becoming
http://run.plnkr.co/plunks/P0fqZG6G6khKKrtfBkDP/
Important: Make double sure you add the trailing /
Open new URL in a new chrome window
Hit F12 in chrome, voila native angular JS debugging for your plnk
Note: You can then continue editing in plnkr, saving, and simply refreshing this URL when debugging, to maintain your active debugging session.
This may change, but currently on Chrome 47.0.2526.111 m on Windows 10, 64 bit, this is how you can find your plunk source files:
Open developer tools (F12)
Open sources
Look for run.plnkr.co
Expand this to show a single directory with a cryptic name
Inside, you will find your files so you can start debugging