nerate</el-button>
  </div>

  <el-alert v-if="inputErr.isShow" :title="inputErr.msg" :type="inputErr.type" :closable="false" show-icon></el-alert>

  <el-row :gutter="20" :class="[inputErr.isShow ? 'alert': '', 'main']">
    <el-col :span="8">
      <h4>Input:</h4>

      <div ref="editor" class="area"></div>
    </el-col>

    <el-col :span="8">
      <h4>Result:</h4>

      <div ref="output" class="area"></div>
    </el-col>

    <el-col :span="8">
      <h4>Preview:</h4>

      <ncform class="area" v-if