application/manage/block/EditorBlock.php
public static function form($data = [])
    {
        if (! isset($data['class'])) {
            $data['class'] = '';
        }
        $data['class'] .= 'nd-editor-wang';
        
        $data['attr'] = 'nd-target="' . $data['name'] . '"';
        
        $data['rows'] = 30;
        
        return TextareaBlock::form($data);
    }
public static function form($data = [])
    {
        if (! isset($data['class'])) {
            $data['class'] = '';
        }
        $data['class'] .= 'nd-editor-wang';
        
        $data['attr'] = 'nd-target="' . $data['name'] . '"';
        
        $data['rows'] = 30;
        
        return TextareaBlock::form($data);
    }
public static function form ( $ data = [ ] ) { if ( ! isset ( $ data [ 'class' ] ) ) { $ data [ 'class' ] = '' ; } $ data [ 'class' ] .= 'nd-editor-wang' ; $ data [ 'attr' ] = 'nd-target="' . $ data [ 'name' ] . '"' ; $ data [ 'rows' ] = 30 ; return TextareaBlock :: form ( $ data ) ; }
form

@param array $data
@return string
form