修复tinymce嵌入表单示例页面换行错误,清理!important,revert(vbenjs#1996) (#1999)

* revert: "修改tinymce富文本下拉菜单错位的bug (#1996)"

* style: 修复tinymce嵌入表单示例页面换行错误,清理!important
3个文件已修改
23 ■■■■ 已修改文件
src/design/index.less 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/demo/editor/markdown/Editor.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/demo/editor/tinymce/Editor.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/design/index.less
@@ -21,8 +21,8 @@
body {
  width: 100%;
  height: 100%;
  overflow: visible !important;
  //overflow-x: hidden !important; // 这个会导致tinymce富文本,下拉菜单错位!!!
  overflow: visible;
  overflow-x: hidden;
  &.color-weak {
    filter: invert(80%);
@@ -40,5 +40,5 @@
div,
svg,
span {
  outline: none !important;
  outline: none;
}
src/views/demo/editor/markdown/Editor.vue
@@ -5,6 +5,7 @@
        :labelWidth="100"
        :schemas="schemas"
        :actionColOptions="{ span: 24 }"
        :baseColProps="{ span: 24 }"
        @submit="handleSubmit"
      />
    </CollapseContainer>
src/views/demo/editor/tinymce/Editor.vue
@@ -5,6 +5,7 @@
        :labelWidth="100"
        :schemas="schemas"
        :actionColOptions="{ span: 24 }"
        :baseColProps="{ span: 24 }"
        @submit="handleSubmit"
      />
    </CollapseContainer>
@@ -31,21 +32,6 @@
      component: 'Input',
      label: 'tinymce',
      defaultValue: 'defaultValue',
      rules: [{ required: true }],
      render: ({ model, field }) => {
        return h(Tinymce, {
          value: model[field],
          onChange: (value: string) => {
            model[field] = value;
          },
        });
      },
    },
    {
      field: 'tinymce2',
      component: 'Input',
      label: 'tinymce2',
      defaultValue: 'tinymce2',
      rules: [{ required: true }],
      render: ({ model, field }) => {
        return h(Tinymce, {