Advertisement
Guest User

Untitled

a guest
Apr 4th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. <textarea id="editor" style="height: 340px;"
  2. kendo-editor="editorWidget" ng-model="sfModel"
  3. k-scope-field="editorWidget"
  4. sf-toggle-commands="strikethrough, justifyFull, subscript, superscript, fontName, fontSize, foreColor, backColor, print"
  5. k-encoded="false"
  6. k-stylesheets='[getPackageResourceUrl("/ResourcePackages/Bootstrap/assets/dist/css/styles.min.css")]',
  7. k-tools='[
  8. "formatting",
  9. "bold", "italic", "underline", "trikethrough",
  10. "justifyLeft", "justifyCenter", "justifyRight", "justifyFull",
  11. "insertUnorderedList", "insertOrderedList", "indent", "outdent",
  12. {
  13. name: "createLink",
  14. template: "<a href=\"\" class=\"k-tool k-group-start\" ng-click=\"openLinkSelector()\" title=\"@(Res.Get<ClientComponentsResources>().InsertHyperlink)\"><span class=\"k-tool-icon k-createLink\">@(Res.Get<ClientComponentsResources>().InsertHyperlink)</span></a>"
  15. },
  16. "unlink",
  17. {
  18. name: "insertImage",
  19. template: "<a href=\"\" class=\"k-tool k-group-start\" ng-click=\"openImageSelector()\" title=\"@(Res.Get<ClientComponentsResources>().InsertImage)\"><span class=\"k-tool-icon k-insertImage\">@(Res.Get<ClientComponentsResources>().InsertImage)</span></a>"
  20. },
  21. {
  22. name: "insertFile",
  23. template: "<a href=\"\" class=\"k-tool k-group-start\" ng-click=\"openDocumentSelector()\" title=\"@(Res.Get<ClientComponentsResources>().InsertFile)\"><span class=\"k-tool-icon k-insertFile\">@(Res.Get<ClientComponentsResources>().InsertFile)</span></a>"
  24. },
  25. {
  26. name: "insertVideo",
  27. template: "<a href=\"\" class=\"k-tool custom-tool\" title=\"@(Res.Get<ClientComponentsResources>().InsertVideo)\" ng-click=\"openVideoSelector()\"><span class=\"glyphicon glyphicon-facetime-video\"></span></a>"
  28. },
  29. "createTable", "addColumnLeft", "addColumnRight", "addRowAbove", "addRowBelow", "deleteRow", "deleteColumn",
  30. "cleanFormatting",
  31. "strikethrough", "subscript", "superscript","fontName", "fontSize", "foreColor", "backColor", "print",
  32. {
  33. name: "showAll",
  34. template: "<a class=\"k-tool custom-tool show-all-button\" title=\"@(Res.Get<ClientComponentsResources>().AllTools)\" ng-click=\"toggleAllTools()\"><span class=\"glyphicon glyphicon-option-horizontal\"></span></a>"
  35. },
  36. {
  37. name: "fullscreen",
  38. template: "<a class=\"k-tool js-custom-tool custom-tool\" title=\"Fullscreen\" ng-click=\"toggleFullScreen()\"><span class=\"js-fullScreen glyphicon\"></span></a>"
  39. },
  40. {
  41. name: "htmlView",
  42. template: "<button class=\"custom-tool btn btn-default btn-xs pull-right js-htmlview js-custom-tool\" ng-click=\"toggleHtmlView()\">\{\{htmlViewLabel\}\}</button>"
  43. }
  44. ]'
  45. k-options="options">
  46. </textarea>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement