I am running Umbraco 4.5.2. In config/umbracosettings I have made the change
<TidyEditorContent>False</TidyEditorContent>
In TinyMCEConfig I have deleted the valid elements and replaced with
<validElements><![CDATA[*[*]]]></validElements>
I have gone into web.config, added a space and resaved - to get Umbraco to reload the config files.
In Umbraco when I add content, it is still being 'tidied' and stripping out tags that I want left in. I just want to turn the code tidy off completely.
You have to explicatively define the valid elements in the validElements section in the TinyMCE config. The behavior you are experiencing is not related to Tidy.
Related
I use VSCode and I think its a great editor, but when I write a comment in html it drops to a new line under what I'm commenting which is really irritating.
If I comment a closing div I want it next to the closing div not under it.
I have uninstalled prettier but that made no difference.
Is what I want even possible in VSCode?
Any advise would be appreciated because I am so irritated that I am considering using a different editor (I'm on a Mac just in case it matters).
Thanks in advance.
This was a problem for me too, as were other new line / white space related HTML issues.
Assuming you are not using any formatters besides the native VSCode HTML language features (you said you uninstalled prettier, but you didn't mention whether you were using something else),
there is a setting HTML white space which you can set to preserve to leave your comments untouched.
Note that you may need to go into settings and check what is being used as the HTML default formatter
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.
i try to implement own css styles in an individual style sheet file in rte_ckeditor in TYPO3 8.7.1. I run in the problem, that modifications in the style sheet are not recognized until i rename the style sheet.
Deleting the cache dont have any effect. I presume that the browser simply does not reload the style sheet.
Any ideas?
Thanks.
I found a workaround: Open the linked style sheet in an other browser window and manually reloading (forced reload) the content of this window after every modification. Not really nice - it interrupts the workflow a bit - but it works. After reloading the css the rte shows the new styles.
Version 8.7.9 and the issue still seems to exist.
What I do as a workaround is to open the ckeditor configuration (yaml) file as well and add "?v=1" to the defined filename, e.g.:
editor:
config:
contentsCss: "EXT:tx_yourext/Resources/Public/Css/editor.css?v=1"
The yaml file does not get cached, so whenever I do changes in the CSS file, I also change the parameter inside the yaml file.
In Typo3 (I am extremely new to it) I just set up a new installation. Under Template I inserted a few lines of TypoScript (which works) into a template on the "Home"-page in the tree.
Now, in the "Sites"-mode, I added some pages to the "Home"-page. When I click
on a page in this mode,
on the edit icon in list mode for a specific site in tree
the right side appears grey where normally I should see some properties.
The installation is installed by the hoster. Why is it?
We are using BlogEngine.Net for managing blog posts which has implemented version “3.9.2” of Tiny MCE Editor.
As per our requirement we want to add new control (dropdown) in tool bar of the editor to provide this line height option so that author of the blog post could set line height to any of the selected paragraphs. We even find a related link for this http://fiddle.tinymce.com/jAbaab but it didn’t work for me.
Can someone please help me on this?
Take a closer look at the way the style plugin works that gets shipped with Tinymce3. You can copy the plugin directory and apply your own changes there.
All you need to to is to get rid of the unwanted funtionality and rename the plugin (directory and in the code).
This TinyMCE plugin can help you.
https://github.com/castler/tinymce-line-height-plugin
Download and place it into your tinymce plugin folder.
It supports TinyMCE 4.