当前位置:网站首页>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
边栏推荐
- Unity editor expansion - window, sub window, menu, right-click menu (context menu)
- Osgearth target selection
- Advanced OSG collision detection
- Unity learning notes
- [K & R] Chinese Second Edition personal questions Chapter1
- Alibaba canaladmin deployment and canal cluster Ha Construction
- Pit & ADB wireless debugging of vivo real machine debugging
- Data analysis exercises
- 使用dlv分析golang进程cpu占用高问题
- Creation of osgearth earth files to the earth ------ osgearth rendering engine series (1)
猜你喜欢
Binary to decimal, decimal to binary
Es8 async and await learning notes
注解简化配置与启动时加载
Installation of PHP FPM software +openresty cache construction
UE4 source code reading_ Bone model and animation system_ Animation node
Campus lost and found platform based on SSM, source code, database script, project import and operation video tutorial, Thesis Writing Tutorial
数据库原理期末复习
Alibaba canal actual combat
Jupyter remote server configuration and server startup
Thymeleaf 404 reports an error: there was unexpected error (type=not found, status=404)
随机推荐
【Rust 笔记】10-操作符重载
[RPC] RPC remote procedure call
[rust notes] 06 package and module
22-06-28 西安 redis(02) 持久化机制、入门使用、事务控制、主从复制机制
[concurrent programming] synchronization container, concurrent container, blocking queue, double ended queue and work secret
Chocolate installation
[MySQL] MySQL Performance Optimization Practice: introduction of database lock and index search principle
Unity editor expansion - the design idea of imgui
First Servlet
[redis] redis persistent RDB vs AOF (source code)
[concurrent programming] thread foundation and sharing between threads
Deep parsing (picture and text) JVM garbage collector (II)
Alibaba canal actual combat
如何应对数仓资源不足导致的核心任务延迟
[rust notes] 12 closure
MySQL containerization (1) docker installation MySQL
100 GIS practical application cases (78) - Multi compliance database design and data warehousing
Unity Editor Extension - event handling
[concurrent programming] atomic operation CAS
VIM learning notes from introduction to silk skating