当前位置:网站首页>winform下的富文本编辑器
winform下的富文本编辑器
2022-08-11 01:19:00 【※※冰馨※※】
下载地址:http://pan.baidu.com/s/1i3Jq8HR
该编辑器是在网上找到的,用了之后发现有点问题:
DocumentText内容修改后webbrowser就不能再编辑了
解决办法是:把webBrowserBody.Document = value.Replace("\r\n", "<br>"); 改成 webBrowserBody.Document.Write(value.Replace("\r\n", "<br>"));
这样修改导致另一个问题,期性的Document.Write(html);会导致html代码累加到Document中,解决办法是在write之前先调用webBrowserBody.Document.OpenNew(false);
原文链接:https://blog.csdn.net/blacksource/article/details/18404487
边栏推荐
- 力扣------值相等的最小索引
- 容器技术真的是环境管理的救星吗?
- 20张图,全面掌握MVCC原理!
- 什么是“门”电路(电子硬件)
- Kunpeng compilation and debugging and basic knowledge of native development tools
- Sub-database sub-table ShardingSphere-JDBC notes arrangement
- 微信小程序通过URL Scheme动态的渲染数据
- 云原生-VMware虚拟机安装Kubesphere实战(一)
- Vim take on a window.
- Exceptions and exception handling mechanisms
猜你喜欢
3d打印出现stl文件物体不是流形,意味着不是水密体...解决办法
微信小程序自定义navigationBar
分库分表ShardingSphere-JDBC笔记整理
异常和异常处理机制
使用 BeanUtils 做属性拷贝,性能有点拉胯!
HW-常见攻击方式和漏洞原理(2)
C # - delegate detailed usage
apache+PHP+MySQL+word press,安装word press时页面报错?
Use mysql statement to operate data table (table)
【Video】Report Sharing | 2021 Insurance Industry Digital Insights
随机推荐
[21 Days Learning Challenge] Half Insertion Sort
postgresql parameter meaning
总结Qt中常用文件信息QFileInfo的获取:后缀,名称,路径,链接
编程技巧│selenium 更新 chromedriver 驱动
MySQL indexes and transactions
什么是数组
力扣------使用最小花费爬楼梯
两日总结十
Mysql数据库安装配置详细教程
EPro-PnP: Generalized End-to-End Probabilistic Perspective-n-Points for Monocular Object Pose Est...
微信小程序获取当前页面的url和参数
HCIP-R&S By Wakin自用笔记(3)OSPF之引入外部路由、Forwarding-Address、汇总、特殊区域
BEVDepth: Acquisition of Reliable Depth for Multi-view 3D Object Detection Paper Notes
[GXYCTF2019]BabySQli
21. Aliyun oss
HW-常见攻击方式和漏洞原理(2)
vim simple save window id
Still using Xshell?You are out, recommend a more modern terminal connection tool, easy to use!
dump_stack ()
C# JObject解析JSON数据