Jump to content

Notification Ckeditor


Атаман
 Share

Recommended Posts

но не знаю куда вписать код для его работы

config.extraPlugins = 'notification';

Никуда.

В IPS нужно только установить плагин и зависимости, если есть.

Link to comment
Share on other sites

Спасибо! Установил его, кнопка появилась

 

Tested on **ckeditor 4.5.1**, **Ubuntu 14.04**, **Redmine 3.0.4.stable**

## Plugins installation:
1. Copy plugin directory into /ckeditor/plugins/**pluginName**
2. Add this line into **config.js**
* config.extraPlugins = '**pluginName**';
3. Name of your text area must be in this code into /ckeditor/plugins/**pluginName/plugin.js** 
* CKEDITOR.instances.editor1.insertElement( element );
  * Where editor1 is name of textarea in your html !... **editor1 is default name. if you can dont change it !**

## Plugin installation for Redmine (tested on **Ubuntu**)
You can download plugins from [Add-ons Repository](http://ckeditor.com/addons/plugins/all). To activate the plugin you have to copy the plugin directory into **assets/ckeditor-contrib/plugins** and restart Redmine, then configure toolbar settings.

 

 

1 - загрузил, называется Alert папка

2 - Как правильно вставить его конфиг в стандартный код?

/*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.editorConfig=function(a){a.toolbarGroups=[{name:"document",groups:["mode","document","doctools"]},{name:"clipboard",groups:["clipboard","undo"]},{name:"editing",groups:["find","selection","spellchecker"]},{name:"forms"},{name:"basicstyles",groups:["basicstyles","cleanup"]},{name:"paragraph",groups:["list","indent","blocks","align","bidi"]},{name:"links"},{name:"insert"},{name:"styles"},{name:"colors"},{name:"tools"},{name:"others"},{name:"about"}];a.removeButtons="Cut,Copy,Paste,Undo,Redo,Anchor,Underline,Strike,Subscript,Superscript";
a.removeDialogTabs="link:advanced"};


 

3 - пункт оставил, как есть

Link to comment
Share on other sites

Я установил его через АЦ, он отобразился в редакторе все ок... но он не работает, в плагине еще инструкция по установке.

 

2. Add this line into **config.js**

* config.extraPlugins = '**pluginName**';

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...