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
22
23
24
25
//Text文本框
; RoadUI.Textarea = function ()
{
    var instance = this;
    this.init = function ($texts)
    {
        initElement($texts, "text");
        $texts.each(function ()
        {
            var model = $(this).attr("model");
            var id = $(this).attr('id');
            var name = $(this).attr('name');
            var validate = $(this).attr('validate');
            var value = $(this).text();
            if ("html" == model)
            {
                var html = '<script isflow="1" type1="flow_html" id="' + id + '" name="' + name +
                    '" type="text/plain" style="' + $(this).attr('style') + '" ' + (validate ? 'validate="' + validate + '"' : '') + '>' + value + '</script>';
                $(this).after(html).remove();
                UE.getEditor(id);
            }
        });
 
    };
}