Change default icon of buttons on toolbar of CKEditor - ckeditor

How do I can change the default icon of button on toolbar of CKEditor my my owns?
Thanks.

If you need to modify one of the default icons (not a plugin's) you can modify skins\[name of your skin]\icons.png (suggested here)

Look into plugins folder - source code is there with links to images, just replace those with yours.

Related

How to add button in rte editor toolbar TYPO3

I want to add button in rte editor toolbar. On clicking it automatically a specific image should be inserted in editor.
Here is an example image link https://ucarecdn.com/06a0c19f-1f75-4531-9210-e18409ee72b0/Capture.PNG
You will need to override the YAML configuration for this,
1) PageTsConfig: Typoscript settings
RTE.tt_content.types.textmedia.bodytext.preset = full
RTE.config.tx_news_domain_model_news.bodytext.preset = default
2) ext_localconf.php
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['my_preset'] = 'EXT:my_layout_extension/Configuration/RTE/Default.yaml';
Only you need to move Default.yaml to the 'EXT:my_layout_extension/Configuration/RTE' directoty. For more NITSAN Blog and typo3worx blog will help you.
Hope this makes sense!

How to display CKEditor generate code properly?

When I edit the content in CKeditor, it looks well. but when I display the data on html page. the layout are reset by other css file. How to avoid this? Is it possible to disable show the content in CKeditor without toolbar?
The content.css solve my problem. Add the style to content.css .
ck editor is highly customizable. Go to your CKEditor Directory ckeditor\samples\index.html
Open this file
Click on ToolBar Configurator Button on top right Corner.
Switch to advanced mode. At top right corner there is a switch, toggle it to advanced mode.
Then build your toolbar.
Now click on 'Get ToolBar Config' Button.
Select and Copy the Configuration and Paste it into foll file:
ckeditor/config.js
For CSS issue: Try loading and calling the replace function at end of your html Page.

CKEditor 3.6.1: Load editor on event

I create a page with multiple tabs.
On one of my tabs I want to use CKeditor on a textarea, so when I display my table I call:
editor = CKEDITOR.replace('MyTextArea', MyOptions );
I have the UI of the editor but when I click on the text area nothing append, I can't edit it. The solution for access to the text area is to use "tab" for accessing this field.
I try to put a default value and I can edit if I click on the text but if I click elsewhere in the area I cannot edit.
I have this problem for IE10 and I need it works on it. It's working on Chrome and Firefox. I use CKEditor 3.6.1 and I cannot upgrade it.
Thanks
The problem was the z-index of the container of my textarea, I change it and it works.

kendo ui Rich-Text editor - toolbar displays icons and links

I want to use Kendo UI rich text Editor inside of ASP.NET page, however when I run the application the editor toolbar is displayed with icons and links, I just want to display icons. How can I fix it?
View the image with the issue toolbar editor...
Normally text in editor icons is hided by setting font size to 0 in kendo CSS file:
.k-button-group .k-tool-icon{
font-size: 0;
}
If you have such behavior, you have instaled Kedno UI wrong or you are overriding their style.
To check if you have installed it correctly read the kendo instalation manual: http://docs.telerik.com/kendo-ui/aspnet-mvc/introduction
If everything is ok you should check in eg. Firebug tool why this font-size is not set to 0.

Icon on ui tabs (validate)

I am trying to add an icon on ui tabs when validate fails.
Which method should i use (option is my guess).
Can anyone help me.
Thanks
How about have transparent or hidden icons (e.g. using background-image) to all tabs by default.
Use the validator to change the icon via css/class rather than adding/removing?

Resources