当前位置:网站首页>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
边栏推荐
- Markdown learning
- UE4 source code reading_ Mobile synchronization
- 基于SSM的校园失物招领平台,源码,数据库脚本,项目导入运行视频教程,论文撰写教程
- Analysis of Alibaba canal principle
- Sending and receiving of request parameters
- LinkedList set
- PHP mnemonic code full text 400 words to extract the first letter of each Chinese character
- [rust notes] 09- special types and generics
- OpenGL learning notes
- 【Rust 笔记】07-结构体
猜你喜欢

二进制转十进制,十进制转二进制

单调栈-84. 柱状图中最大的矩形

Alibaba canal actual combat

Simple demo of solving BP neural network by gradient descent method

分配异常的servlet

Osgearth target selection

Campus lost and found platform based on SSM, source code, database script, project import and operation video tutorial, Thesis Writing Tutorial

MySQL three logs

Installation of PHP FPM software +openresty cache construction

基于SSM的校园失物招领平台,源码,数据库脚本,项目导入运行视频教程,论文撰写教程
随机推荐
Kunlunbase meetup is waiting for you!
Log4j2 vulnerability recurrence and analysis
[concurrent programming] explicit lock and AQS
ES6 promise learning notes
UE4 source code reading_ Bone model and animation system_ Animation compression
Osgearth topographic shading map drawing
Unity interactive water ripple post-treatment
数据库原理期末复习
Animation_ IK overview
MySQL 8
[rust notes] 05 error handling
Advanced OSG collision detection
[RPC] RPC remote procedure call
[MySQL] MySQL Performance Optimization Practice: introduction of database lock and index search principle
[concurrent programming] synchronization container, concurrent container, blocking queue, double ended queue and work secret
Osganimation library parsing
MySQL index types B-tree and hash
Find the intersection of line segments
Life cycle of Servlet
Redis cluster series 4