leejaen / react-lz-editor

A multilingual react rich-text editor component includes media support such as texts, images, videos, audios, links etc. Development based on Draft-Js and Ant-design, good support html, markdown, draft-raw mode. 一款基于 draft-Js 和 ant-design 实现的 react 富文本编辑器组件,支持文本、图片、视频、音频、链接等元素插入,同时支持HTML、markdown、draft Raw格式。
https://leejaen.github.io/react-lz-editor/index.html
MIT License
951 stars 154 forks source link

为啥我的模态框没有样式? #119

Open w-sen opened 6 years ago

leejaen commented 6 years ago

这个是基于antd的样式开发,项目引用antd样式了吗?引用的话其他组件显示的对不对?这个问题与#98 差不多。。。

w-sen commented 6 years ago

我引用antd了,富文本编辑器样式好着呢,就是弹出框都没有样式

leejaen commented 6 years ago

有没有使用css-loader?

w-sen commented 6 years ago

用的是react+dva+antd,目前是模态框里面的内容没有样式,antd版本是3.0.0

hellopsu commented 6 years ago

模态框通过按钮或者其他地方点击进来有样式,当刷新页面后 模态框就又没有样式了

hellopsu commented 6 years ago

目前我的antd版本是3.0.0

logdream commented 6 years ago

我的弹出对话框,比如url链接那个会被编辑器本身挡住,而且位置也不对。<div> <Card>.....</Card> <LzEditor active convertFormat="markdown" video={false} audio={false} urls={false} cbReceiver={this.receiveMarkdown} importContent={currentItem.content ? currentItem.content : ''} /> </div> 用的是 Ant Design Pro

weijiqiang1024 commented 6 years ago

我引用也有样式问题 开始没有模态框 加了Modal组件,但是modal的title样式还是有问题(移除文字样式和添加水印图片) antd@2.10+

focus0802 commented 6 years ago

120

qq65827 commented 6 years ago

我也是 并且保存的时候也有样式问题

yuegongzi commented 6 years ago

可以试着在引入的页面加入如下引用 import "antd/lib/modal/style/index.css";//引入上传和modal样式 import "antd/lib/upload/style/index.css";

看看能不能解决样式问题,我怀疑是因为动态引入导致了这个页面设置的css通通无效导致的