username@email.com
2021-06-03 904fb460b9359fe92e00ce25804d96c8a52bb513
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//编辑器
; RoadUI.Editor = function ()
{
    var instance = this;
    this.init = function ($editors)
    {
        $editors.each(function ()
        {
            var id = $(this).attr('id');
            var width = $(this).attr('width') || "100%";
            var height = $(this).attr('height') || "300";
            var readonly = "readonly" == $(this).attr('readonly') || "1" == $(this).attr('readonly') ? true : false;
            UE.getEditor(id, {
                initialFrameWidth: width,
                initialFrameHeight: height,
                readonly: readonly
            });
        });
 
    };
}