Unverified 提交 ba97f80d 作者: Tanimodori 提交者: GitHub

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

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

* style: 修复tinymce嵌入表单示例页面换行错误,清理!important
上级 0902de75
...@@ -21,8 +21,8 @@ html, ...@@ -21,8 +21,8 @@ html,
body { body {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: visible !important; overflow: visible;
//overflow-x: hidden !important; // 这个会导致tinymce富文本,下拉菜单错位!!! overflow-x: hidden;
&.color-weak { &.color-weak {
filter: invert(80%); filter: invert(80%);
...@@ -40,5 +40,5 @@ button, ...@@ -40,5 +40,5 @@ button,
div, div,
svg, svg,
span { span {
outline: none !important; outline: none;
} }
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
:labelWidth="100" :labelWidth="100"
:schemas="schemas" :schemas="schemas"
:actionColOptions="{ span: 24 }" :actionColOptions="{ span: 24 }"
:baseColProps="{ span: 24 }"
@submit="handleSubmit" @submit="handleSubmit"
/> />
</CollapseContainer> </CollapseContainer>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
:labelWidth="100" :labelWidth="100"
:schemas="schemas" :schemas="schemas"
:actionColOptions="{ span: 24 }" :actionColOptions="{ span: 24 }"
:baseColProps="{ span: 24 }"
@submit="handleSubmit" @submit="handleSubmit"
/> />
</CollapseContainer> </CollapseContainer>
...@@ -41,21 +42,6 @@ ...@@ -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({ export default defineComponent({
components: { BasicForm, CollapseContainer, PageWrapper }, components: { BasicForm, CollapseContainer, PageWrapper },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论