I am trying to customize the TINYMCE editor in my CMS (Umbraco).
CMS should't matter.
I need to know how to add a link property to my TinyMCE link property list.
I am trying to add the Google Tracking script to a link when a person enters a title to my textbox I have set up in the TinyMCE editor. I have the textbox showing up. But I need to set the property so it shows up when I update the link property.
I know I can add the Google Tracking script manually, but this option is not user friendly for people who do no know HTML. Trying to make this user friendly, I need to add the property when the link gets added to the content.
Any help would be greatly appreciated.
Thanks.
You may change properties (example here changes the setting paste_remove_styles)
editor.settings.paste_remove_styles = true,
Be aware that changing these settings won't work if that setting get red only when initializing tinymce (i.e. cleanup, content_css, editor_css,...)!
If this does not help you further please provide some more code, so that we can examine your problem deeper.
Related
I want to create Rich Text dialog in AEM 6.5
I have added the RTE plugins and UI settings but still it is not working.
Please see the attached image of the structure of rich text dialog.
Do we need to write some code or class so that rich text dialogs can work.
Please help.
The best way to figure out if you have done anything wrong is to copy the richtext from /libs/core/wcm/components/text/v1/text/cq:dialog/content/items/tabs/items/properties/items/columns/items/column/items/text to your dialog and check if the RTE is appearing or not. If it is, then compare the one you previously created with this one and figure out what is going wrong.
Always the best approach is to check the OOTB fields structure and compare it with your structure to figure out what is going wrong.
Rich Text Editor in Dialog
It is always better to configure dialogs directly with XML instead of doing it in CRXDE.
To start with you can look into the 'Text Component' dialog which has RTE in its dialog.
Look into the <text>...</text> part in the content.xml of the dialog. Hopefully, you will get a better idea.
I want to add a color picker to umbraco for setting, so when the User create a new form he/she is able to add a background color, text color from the form setting. I have checked for solutions but there is no proper solution for this. i could only find of adding css class in it. Could someone please advice me on this.
You will need to create your own custom Umbraco Forms control to do that. There's documentation at https://our.umbraco.com/documentation/Add-ons/UmbracoForms/Developer/Extending/Adding-a-Fieldtype that guides you through that task.
I'm trying to customize the about dialog in my eclipse RCP application. I already managed to add my logo and to replace the title and the text body as described under Branding Your Application.
I would also like to add some buttons to it: send a feedback or open the wiki page etc.
Is there a way to do it or achieve a similar functionality?
Any help is much appreciated.
The About diaog (org.eclipse.ui.internal.dialogs.AboutDialog) does not support any configuration.
The 'feature image row' you have highlighted is populated from the IBundleGroupProvider array returned by Platform.getBundleGroupProviders(), I don't see any way to add to this.
If a component is created, but a dialog.xml file isn't included within it, it will not show as available within the Sidekick, even if enabled in Design mode, and with a Component Group specified — why is this?
If you add a cq:editConfig node to the component it will show up in the sidekick, after being enabled in the design dialog of the parsys, without having a dialog.
As reference: http://dev.day.com/docs/en/cq/5-3/developing/components.html#Components and their structure
dialog boxes are meant for dynamically adding content to the components.
if there is no dialog box in a component there is no reason for component to display in sidekick .
u can directly hard code the component like this.
<cq:include path="par0" resourceType="/apps/...." />
Have you gone into the design portion to allow your component? I've often created a new component, and been unable to add it simply because I forgot to allow it in the design mode on that page.
EDIT
Good point - I do believe a dialog.xml file is required for it to show up in the sidekick. Otherwise you have to hard code the include of your component where you need it. I would suggest adding a dialog.xml file, even if it is only for the reason of showing it in the sidekick, so you can add it dynamically to different pages.
After an upgrade, our confluence installation doesnt show the "Help Tips" on wiki markup (a box on the right side of the edit pane which give basic informations on wiki markup). If I view the source, I see that the div is there, but with a display:none attribute. This lead me to think that there is an option somewhere to activate or deactivate this, but I cant find it.
Any idea ?
If you cannot find an option to show it again, and I can't but we are not using the default theme and it is visible
Try adding custom css to show it seems to have an id of helpcontent so you could do that.
Although this will affect other views if not precisely targeted
If it is a route you want to persue !