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

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

* style: 修复tinymce嵌入表单示例页面换行错误,清理!important
This commit is contained in:
Tanimodori 2022-06-26 12:46:27 +08:00 committed by GitHub
parent 0902de7504
commit ba97f80d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 18 deletions

View File

@ -21,8 +21,8 @@ html,
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 @@ button,
div,
svg,
span {
outline: none !important;
outline: none;
}

View File

@ -5,6 +5,7 @@
:labelWidth="100"
:schemas="schemas"
:actionColOptions="{ span: 24 }"
:baseColProps="{ span: 24 }"
@submit="handleSubmit"
/>
</CollapseContainer>

View File

@ -5,6 +5,7 @@
:labelWidth="100"
:schemas="schemas"
:actionColOptions="{ span: 24 }"
:baseColProps="{ span: 24 }"
@submit="handleSubmit"
/>
</CollapseContainer>
@ -41,21 +42,6 @@
});
},
},
{
field: 'tinymce2',
component: 'Input',
label: 'tinymce2',
defaultValue: 'tinymce2',
rules: [{ required: true }],
render: ({ model, field }) => {
return h(Tinymce, {
value: model[field],
onChange: (value: string) => {
model[field] = value;
},
});
},
},
];
export default defineComponent({
components: { BasicForm, CollapseContainer, PageWrapper },