mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
poc form SDK (extends to form)
This commit is contained in:
25
js/DI/widget/text_widget.js
Normal file
25
js/DI/widget/text_widget.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* Example of jquery widget.
|
||||
*
|
||||
*/
|
||||
$.widget( "itop.text_widget",
|
||||
{
|
||||
// default options
|
||||
options:
|
||||
{
|
||||
},
|
||||
|
||||
// the constructor
|
||||
_create: function()
|
||||
{
|
||||
editor = CKEDITOR.replace(this.element.attr('id'), {
|
||||
language: 'fr',
|
||||
uiColor: '#9ec5fe88',
|
||||
toolbarStartupExpanded: true
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user