当前位置:网站首页>Baidu editor ueeditor changes style
Baidu editor ueeditor changes style
2022-07-03 08:48:00 【bin9153】
The goal is : I wanted to change ueditor Write the style of the database , I can't use several methods
Methods that have been tried :
1. Modify the source code , Find the following file , Search for “customstyle” Change the style inside , no way , Maybe there is a definition elsewhere , I'll study it again when I have time .
ueditor\ueditor.all.js
2. The second method , This is the front of the final plan below 3 Step , In fact, there is no change in the style of writing to the database , So the fourth step is to introduce it in the front end !
Final solution :
First step : Find the following css, Write a custom style
ueditor\themes\iframe.css
The second step : Find this profile
ueditor\ueditor.config.js
The third step : stay ueditor.config.js Internal search “themes/iframe.css” , Open the previous comment double slash
themes/iframe.css
Step four : Introduce the same css file ,
<link rel="stylesheet" href="__INDEX__/style/newueditor.css" type="text/css" />
Be careful : This front end css File and editor css The file is not a ,
Add the outermost layer at the front div Elemental class class , Prevent style conflicts
/* Baidu editor style front-end update */
.entry h1{
padding:0 4px 20px 0 !important;
}
In short :
1. The backend editor introduces a css File and open it in the configuration ,
2. The front end also introduces a css file , Prevent style conflicts , Outermost layer plus div Of className
边栏推荐
- [concurrent programming] consistency hash
- Alibaba canal actual combat
- [concurrent programming] concurrent security
- Unity notes 1
- 注解简化配置与启动时加载
- producer consumer problem
- [rust notes] 13 iterator (Part 1)
- Osgearth target selection
- [set theory] order relation (total order relation | total order set | total order relation example | quasi order relation | quasi order relation theorem | bifurcation | quasi linear order relation | q
- Unity editor expansion - controls, layouts
猜你喜欢
Installation of PHP FPM software +openresty cache construction
OpenGL learning notes
Introduction to Base64 coding
Mxone Pro adaptive 2.0 film and television template watermelon video theme apple cmsv10 template
Alibaba canal actual combat
Deeply understand the underlying data structure of MySQL index
单调栈-42. 接雨水
单调栈-84. 柱状图中最大的矩形
Gradle's method of dynamically modifying APK package name
Dealing with duplicate data in Excel with xlwings
随机推荐
[redis] redis persistent RDB vs AOF (source code)
How does unity fixedupdate call at a fixed frame rate
【Rust笔记】02-所有权
[rust notes] 05 error handling
Alibaba canal actual combat
[concurrent programming] synchronization container, concurrent container, blocking queue, double ended queue and work secret
单调栈-84. 柱状图中最大的矩形
Simple demo of solving BP neural network by gradient descent method
Intersectionpicker in osgearth
Osgconv tool usage
[rust notes] 13 iterator (Part 1)
LinkedList set
php-fpm软件的安装+openresty高速缓存搭建
Unity interactive water ripple post-treatment
[concurrent programming] consistency hash
请求参数的发送和接收
Dom4j遍历和更新XML
[concurrent programming] concurrent tool class of thread
[concurrent programming] thread foundation and sharing between threads
Binary to decimal, decimal to binary