掲示板
Adding a plugin to ckeditor
12年前 に Nicola Grippaldi によって更新されました。
Adding a plugin to ckeditor
New Member 投稿: 10 参加年月日: 11/11/13 最新の投稿
I tried to add the HTML5 Video plugin for ckeditor, and I executed the steps as videoplugin
1. Extract the contents of the file into the "plugins" folder of CKEditor.
2. In the CKEditor configuration file (config.js) added the following code:
CKEDITOR.editorConfig = function( config ){
config.extraPlugins = 'video';
};
then I changed /ROOT/html/js/editor/ckeditor/ckconfig.jsp adding 'Video' in the toolbar
CKEDITOR.config.toolbar_liferay = [
...........
['Image', 'Flash', 'Table', '-', 'Smiley', 'Video', 'SpecialChar']
];
but I have no Video button.
Any suggestion?
1. Extract the contents of the file into the "plugins" folder of CKEditor.
2. In the CKEditor configuration file (config.js) added the following code:
CKEDITOR.editorConfig = function( config ){
config.extraPlugins = 'video';
};
then I changed /ROOT/html/js/editor/ckeditor/ckconfig.jsp adding 'Video' in the toolbar
CKEDITOR.config.toolbar_liferay = [
...........
['Image', 'Flash', 'Table', '-', 'Smiley', 'Video', 'SpecialChar']
];
but I have no Video button.
Any suggestion?
12年前 に Hitoshi Ozawa によって更新されました。
RE: Adding a plugin to ckeditor
Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
I just did the followings:
1. Add ['Video'] to CKEDITOR.config.toolbar_liferayArticle in ckconfig.jsp
2. Add 'video' to ckeditor.js line #21 to plugin:'about, ...... 'video',....
3. Extracted downloaded file to plugin
4. Restart Tomcat
1. Add ['Video'] to CKEDITOR.config.toolbar_liferayArticle in ckconfig.jsp
2. Add 'video' to ckeditor.js line #21 to plugin:'about, ...... 'video',....
3. Extracted downloaded file to plugin
4. Restart Tomcat
添付ファイル:
12年前 に Juan Gonzalez P によって更新されました。
RE: Adding a plugin to ckeditor
Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿Nicola Grippaldi:
I tried to add the HTML5 Video plugin for ckeditor, and I executed the steps as videoplugin
1. Extract the contents of the file into the "plugins" folder of CKEditor.
2. In the CKEditor configuration file (config.js) added the following code:
CKEDITOR.editorConfig = function( config ){
config.extraPlugins = 'video';
};
then I changed /ROOT/html/js/editor/ckeditor/ckconfig.jsp adding 'Video' in the toolbar
CKEDITOR.config.toolbar_liferay = [
...........
['Image', 'Flash', 'Table', '-', 'Smiley', 'Video', 'SpecialChar']
];
but I have no Video button.
Any suggestion?
Take a look at this issue:
http://issues.liferay.com/browse/LPS-25955
and this pull request:
https://github.com/sergiogonzalez/liferay-portal/pull/144
Many things left to be done, but it works for Liferay 6.1 builtin Documents&Media html5 preview :-)
12年前 に Nicola Grippaldi によって更新されました。
RE: Adding a plugin to ckeditor
New Member 投稿: 10 参加年月日: 11/11/13 最新の投稿
hi Hitoshi
thank you very much, it works
hi Juan
I've just started off with videos, but this seems a very nice idea
thank you very much, it works
hi Juan
I've just started off with videos, but this seems a very nice idea
11年前 に Ahamed Sakir によって更新されました。
RE: Adding a plugin to ckeditor
Regular Member 投稿: 129 参加年月日: 08/08/22 最新の投稿
Hi Hitoshi Ozawa,
How to implement Table of Contents(TOC) feature in CKEditor as Wiki Creole ?
Regards
Sakir
How to implement Table of Contents(TOC) feature in CKEditor as Wiki Creole ?
Regards
Sakir
9年前 に Diogo Salazar によって更新されました。
RE: Adding a plugin to ckeditor
Junior Member 投稿: 51 参加年月日: 13/08/28 最新の投稿
Hi guys, good afternoon!
What are the steps to add a plugin to CKEditor in Liferay 6.2?
It would be great to have a reply here and also an article at dev.liferay.com.
Thank you.
What are the steps to add a plugin to CKEditor in Liferay 6.2?
It would be great to have a reply here and also an article at dev.liferay.com.
Thank you.
5年前 に Taruchit Goyal によって更新されました。
RE: Adding a plugin to ckeditor
Junior Member 投稿: 60 参加年月日: 18/03/16 最新の投稿Hello Nicola,
Please share the steps followed for getting video functionality
button in ckeditor.
I am unable to figure out he location at
which code is to be appended in ckeditor.js.
I have Liferay 7; thus does the steps change from the ones listed above?
Thanks
Taruchit