Is it possible to integrate the DHTMLX Rich Text Editor in a webix 6 Form?
Hi Rainer,
Yep, sure. You can intergate any third-party tool into a Webix view with a couple of these simple steps:
webix.protoUI({
// provide name
name:"dhx-richtext",
$init:function(config){
// create HTML an container within Webix view
// fetch library files and init the tool in the container
},
getEditor:function(){
//add some method to access the tool
},
$setSize:function(x,y){
//adjust the tool to Webix view when it changes its size
}
// inherit from base view
}, webix.ui.view);
Please, check the snippet of a basic Webix - DHX RichText integration: https://snippet.webix.com/wh4j37zt
Hi Helga, this works perfect for my new webix application. Many thanks, Rainer
Hi webix team, is it possible to set the DHX Rich Text Editor to readonly mode?
Hello @RainerRoss,
Change value contenteditable
attribute on false
and use webix.delay()
wrapper to ensure that the rendering of the editor was finished.
Please check a snippet:
https://snippet.webix.com/r7k3q6gb