Атаман Posted April 9, 2019 Share Posted April 9, 2019 Добрый день! Установил плагив в редактор, но не знаю куда вписать код для его работы config.extraPlugins = 'notification';https://ckeditor.com/cke4/addon/notification Можете подсказать? Link to comment Share on other sites More sharing options...
newbie Posted April 9, 2019 Share Posted April 9, 2019 но не знаю куда вписать код для его работыconfig.extraPlugins = 'notification';Никуда.В IPS нужно только установить плагин и зависимости, если есть. Link to comment Share on other sites More sharing options...
siv1987 Posted April 9, 2019 Share Posted April 9, 2019 http://ipbskins.ru/forum/topic15578.html 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 9, 2019 Author Share Posted April 9, 2019 Спасибо. А никто не находил подобный для ips https://ckeditor.com/cke4/addon/alert-messages ? Link to comment Share on other sites More sharing options...
siv1987 Posted April 9, 2019 Share Posted April 9, 2019 Я вроде бы видел нечто подобное под IPS. 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 9, 2019 Author Share Posted April 9, 2019 Да вот и ищу. оч нужно Link to comment Share on other sites More sharing options...
newbie Posted April 10, 2019 Share Posted April 10, 2019 Спасибо. А никто не находил подобный для ips https://ckeditor.com.../alert-messages ? Там в комментах есть ссылка на бесплатный вариант.Пробовали? 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 10, 2019 Author Share Posted April 10, 2019 Спасибо! Установил его, кнопка появилась 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 More sharing options...
newbie Posted April 10, 2019 Share Posted April 10, 2019 Плагины нужно устанавливать в АЦ. Link to comment Share on other sites More sharing options...
Атаман Posted April 10, 2019 Author Share Posted April 10, 2019 Я установил его через АЦ, он отобразился в редакторе все ок... но он не работает, в плагине еще инструкция по установке. 2. Add this line into **config.js** * config.extraPlugins = '**pluginName**'; Link to comment Share on other sites More sharing options...
newbie Posted April 10, 2019 Share Posted April 10, 2019 2. Add this line into **config.js*** config.extraPlugins = '**pluginName**'; Это не надо Link to comment Share on other sites More sharing options...
Атаман Posted April 10, 2019 Author Share Posted April 10, 2019 жаль не работает. Link to comment Share on other sites More sharing options...
newbie Posted April 10, 2019 Share Posted April 10, 2019 alerts.zip 2 Link to comment Share on other sites More sharing options...
Атаман Posted April 10, 2019 Author Share Posted April 10, 2019 Спасибо добрый человек) перезагрузил и все ок :lol: Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now