当前位置:网站首页>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.cssThe second step : Find this profile
ueditor\ueditor.config.jsThe third step : stay ueditor.config.js Internal search “themes/iframe.css” , Open the previous comment double slash
themes/iframe.cssStep 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
边栏推荐
- 【Rust 笔记】12-闭包
- Unity Editor Extension - Outline
- Log4j2 vulnerability recurrence and analysis
- Servlet的生命周期
- Thymeleaf 404 reports an error: there was unexpected error (type=not found, status=404)
- Concurrent programming (V) detailed explanation of atomic and unsafe magic classes
- Creation and content of mapnode -- osgearth rendering engine series (2)
- First Servlet
- Osgconv tool usage
- Monotonic stack -84 The largest rectangle in the histogram
猜你喜欢

Collection interface

Concurrent programming (VI) ABA problems and solutions under CAS

Monotonic stack -84 The largest rectangle in the histogram

Dom4j traverses and updates XML

Osgearth target selection

Concurrent programming (III) detailed explanation of synchronized keyword

Unity learning notes

Unity editor expansion - scrolling list

JS ternary operator - learning notes (with cases)

Creation of osgearth earth files to the earth ------ osgearth rendering engine series (1)
随机推荐
GIS实战应用案例100篇(七十八)-多规合一数据库设计及数据入库
Talking about: is the HashSet set ordered or disordered /hashset set unique, why can we store elements with the same content
Markdown learning
Collection interface
JS ternary operator - learning notes (with cases)
Introduction to Base64 coding
VIM learning notes from introduction to silk skating
UE4 source code reading_ Bone model and animation system_ Animation process
Find the intersection of line segments
[linear table] basic operation of bidirectional linked list specify node exchange
Cesium for unreal quick start - simple scenario configuration
Alibaba canaladmin deployment and canal cluster Ha Construction
Analysis of Alibaba canal principle
Image processing 8-cnn image classification
Unity editor expansion - controls, layouts
Vscode, idea, VIM development tool shortcut keys
LinkedList set
Annotations simplify configuration and loading at startup
[concurrent programming] atomic operation CAS
Explain sizeof, strlen, pointer, array and other combination questions in detail