-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbootstrap-tinymce.min.js
More file actions
1 lines (1 loc) · 1.01 KB
/
bootstrap-tinymce.min.js
File metadata and controls
1 lines (1 loc) · 1.01 KB
1
angular.module("schemaForm").run(["$templateCache",function(r){r.put("directives/decorators/bootstrap/tinymce/tinymce.html",'<div class="form-group" ng-class="{\'has-error\': hasError()}"><label class="control-label" ng-show="showTitle()">{{form.title}}</label><textarea tx-tinymce="form.tinymceOptions" ng-model="$$value$$" style="background-color: white" schema-validate="form"></textarea> <span class="help-block">{{ (hasError() && errorMessage(schemaError())) || form.description}}</span></div>')}]),angular.module("schemaForm-tinymce",["schemaForm","tx-tinymce"]).config(["schemaFormProvider","schemaFormDecoratorsProvider","sfPathProvider",function(r,t,e){var o=function(t,o,a){if("string"===o.type&&"html"==o.format){var s=r.stdFormObj(t,o,a);return s.key=a.path,s.type="wysiwyg",a.lookup[e.stringify(a.path)]=s,s}};r.defaults.string.unshift(o),t.addMapping("bootstrapDecorator","wysiwyg","directives/decorators/bootstrap/tinymce/tinymce.html"),t.createDirective("wysiwyg","directives/decorators/bootstrap/tinymce/tinymce.html")}]);