Learning Angular, and have just begun to work with the directives version of Kendo UI.
On a documentation page I found the other day (but I've forgotten where it is) there is a code snippet that can be executed only at the initial configuration. The code changes the behavior of ENTER and SHIFT+ENTER:
var defaultTools = kendo.ui.Editor.defaultTools;
defaultTools["insertLineBreak"].options.shift = false;
defaultTools["insertParagraph"].options.shift = true;
Although I see in the Kendo Angular docs how to instantiate the tools config object via k-tools in the markup
<textarea ng-controller="foo" k-tools="[
'bold',
'italic',
'underline',
'strikethrough',
'createLink',
<snip>
I don't see how one would change specific properties of defaultTools in markup. How would the code above be implemented when using the Editor with Angular?
On a documentation page I found the other day (but I've forgotten where it is) there is a code snippet that can be executed only at the initial configuration. The code changes the behavior of ENTER and SHIFT+ENTER:
var defaultTools = kendo.ui.Editor.defaultTools;
defaultTools["insertLineBreak"].options.shift = false;
defaultTools["insertParagraph"].options.shift = true;
Although I see in the Kendo Angular docs how to instantiate the tools config object via k-tools in the markup
<textarea ng-controller="foo" k-tools="[
'bold',
'italic',
'underline',
'strikethrough',
'createLink',
<snip>
I don't see how one would change specific properties of defaultTools in markup. How would the code above be implemented when using the Editor with Angular?