CKEditor Browse Server Button - ckeditor

Looking for a very simple way to disable/remove the CKEditor "browse server" button when using the Link toolbar button without disabling the "browser server" button when using the Image toolbar button.

Why don't you go the other way round and just enable it only in the dialog windows where it's needed? There are dedicated configuration options for that, read more in the Adding File Manager Scripts for Selected Dialog Windows section of the documentation.
So, for example, to enable it just for the Image dialog window, use the config.filebrowserImageBrowseUrl and config.filebrowserImageUploadUrl properties, like in the example below:
CKEDITOR.replace( 'editor1', {
filebrowserImageBrowseUrl: '/browser/browse.php?type=Images',
filebrowserImageUploadUrl: '/uploader/upload.php?type=Images'
});

Related

Open Source dialog directly by clicking custom button

I use CKEDITOR and need to open Source Dialog only, without toolbar and button Source. I want to click button in separate place and show dialog to user. Searching in docs doesnt give any result. Can you suggest me something?

CKEDITOR Image Properties Browse Button

I have found a neat plugin for CKEDITOR called bgimage that allows a user to select a section of text and wrap said text within div and apply the background image style attribute (Background Image plugin should use Selected Text.).
I was wondering how can I replace the Image URL with Image Browse button as found within Image Properties?
Do I need to add an additional button to the vbox then make the necessary connections between FileBrowser and the associated Button? (I can't seem to find the relevant Developer Docs, regarding this problem).
The complete documentation for adding the file browser to your dialog is actually available here: Adding File Manager to a Dialog Window.

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.

KendoUI Export to excel

Standard html download contains an msSaveOrOpen capability. When exporting excel/pdf from KendoUI grid, the dialog is only save, then a 2nd dialog opens with "open save" etc.
How can I get the excel export to open using open/save buttons instead of just save?
This is a browser feature. You can change this in the advanced settings in Chrome.

Tinymce change target path of insert/edit image icon

In TyniMce when select the text and right click there is inser/edit Image option is there on click on that how can i open my own aspx page not TynyMce ImageEdit.html page.
You can crete your own contextmenu (and open it on right click) using an own plugin.
The tinymce contextmenu plugin should be worth a look at. If you want to develope your own contextmenu plugin have a look at the source code.

Resources