UNPKG

@chief-editor/brick-control

Version:

Control Brick for chief editor

1 lines 760 B
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var a,r=1,e=arguments.length;r<e;r++)for(var o in a=arguments[r])Object.prototype.hasOwnProperty.call(a,o)&&(t[o]=a[o]);return t}).apply(this,arguments)};import{getNormalLayout,getNormalPartBoardInfo,getNullableDatasource,getNullableState}from"../../util/editor";import schema from"./schema.json";export var RichEditorConfig=__assign(__assign(__assign(__assign(__assign(__assign({type:"RichEditor",category:"Unit",schema:schema},getNormalLayout()),getNormalPartBoardInfo()),getNullableState()),{getValueFromBrickData:function(){return{deltaOps:[],formats:{}}},setValueToBrickData:function(){}}),getNullableDatasource()),{getDisplayFromBrickData:function(){return""}});