当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
Dual machine thermal for comprehensive experiment (VRRP + OSPF + + NAT + DHCP + VTP PVSTP + single-arm routing)
Apache Commons Configuration远程代码执行漏洞(CVE-2022-33980)分析&复现
编程技巧│selenium 更新 chromedriver 驱动
HW-常见攻击方式和漏洞原理(2)
报考PMP需要做些什么准备?
loop word
络达开发---UI定义+自定义按钮事件
How to determine the size of the version number
The statistical data analysis, interview manual"
Apache Commons Configuration Remote Code Execution Vulnerability (CVE-2022-33980) Analysis & Reproduction
Still using Xshell?You are out, recommend a more modern terminal connection tool, easy to use!
QT+VTK+PCL拟合圆柱并计算起始点、中止点
迭代器和生成器
颠覆性创新招商,链动2+1是个怎么样的制度模式?
① 数据库介绍 及 关系型数据库的关系代数表达式
【视频】报告分享|2021年保险行业数字化洞察
划分字母区间[贪心->空间换时间->数组hash优化]
Volatile和CAS
Navicat 16-数据库工具
rhel7.0解决yum无法使用(system is not registered to Red Hat Subscription Management)









