当前位置:网站首页>Wangeditor rich text reference and table usage
Wangeditor rich text reference and table usage
2022-07-06 11:33:00 【iatkotworld】
wangeditor Rich text component problem
Introduction to the problem :
This article records wangeditor A problem encountered in development , Before using wangeditor I didn't do much research because of time tension , Subsequent project tests , Measure and find the tables and references added in the editor , The display style is different from that in the editor , Here are the solutions .
Details :
Show the effect in the editor :
The editor displays the effect in the console :
You can see that the reference function is styled , The label is called "blockquote".
Print out the contents of the current editor :
You can see that only the label name has no label style , So after data submission , When displaying on the details page , In the page, only the tag name has no corresponding style , The corresponding display effect cannot be displayed correctly .
Solution :
css modify
Directly add the corresponding label style in the display page , The same is true for tables .
.dialogCont /deep/ blockquote {
display: block;
border-left: 8px solid #d0e5f2;
padding: 5px 10px;
margin: 10px 0;
line-height: 1.4;
font-size: 100%;
background-color: #f1f1f1;
}
.dialogCont /deep/ blockquote p {
padding: 10px 0;
}
explain :
After adding styles to the display page , Although successfully displayed , But I'm not sure whether this method is reasonable , So I checked on the Internet again , Then I found this page , You can refer to .
Page link :https://www.kancloud.cn/wangfupeng/wangeditor3/335775
边栏推荐
- Solve the problem of installing failed building wheel for pilot
- 4、安装部署Spark(Spark on Yarn模式)
- Introduction to the easy copy module
- Rhcsa certification exam exercise (configured on the first host)
- Password free login of distributed nodes
- DICOM: Overview
- error C4996: ‘strcpy‘: This function or variable may be unsafe. Consider using strcpy_ s instead
- [AGC009D]Uninity
- ES6 promise object
- Solution to the practice set of ladder race LV1 (all)
猜你喜欢

vs2019 桌面程序快速入门

QT creator runs the Valgrind tool on external applications

QT creator design user interface

机器学习--人口普查数据分析

分布式節點免密登錄

QT creator create button

【CDH】CDH5.16 配置 yarn 任务集中分配设置不生效问题

Pytoch Foundation

Kept VRRP script, preemptive delay, VIP unicast details

Django running error: error loading mysqldb module solution
随机推荐
UDS learning notes on fault codes (0x19 and 0x14 services)
数据库高级学习笔记--SQL语句
Test objects involved in safety test
[NPUCTF2020]ReadlezPHP
AcWing 1298.曹冲养猪 题解
Solve the problem of installing failed building wheel for pilot
Classes in C #
When you open the browser, you will also open mango TV, Tiktok and other websites outside the home page
[Bluebridge cup 2021 preliminary] weight weighing
TypeScript
Learning question 1:127.0.0.1 refused our visit
Learn winpwn (2) -- GS protection from scratch
搞笑漫画:程序员的逻辑
Julia 1.6 1.7 common problem solving
Summary of numpy installation problems
Use dapr to shorten software development cycle and improve production efficiency
[Flink] cdh/cdp Flink on Yan log configuration
Solution to the practice set of ladder race LV1 (all)
In the era of DFI dividends, can TGP become a new benchmark for future DFI?
Did you forget to register or load this tag