创建自定义字段类型时,增强的Rich文本框出现问题 [英] Issue with Enhanced Rich text box while creating Custom field type
问题描述
您好,
我试图创建增强的Rich"文本框的自定义字段类型.但是,当我尝试使用SharePoint:InputFormTextBox添加控件时,它只会得到Rich文本框.我给了如下标签
I was trying to create custom field type of Enhanced Rich text box. But when i am trying to add control using SharePoint:InputFormTextBox, it is getting only Rich text box. I had given tag like below
< SharePoint:InputFormTextBox ID =" txtData" RichText ="true" RichTextMode ="FullHtml"; runat =服务器" TextMode ="MultiLine";行="10"列="10". AllowHyperlink ="true"></SharePoint:InputFormTextBox>
<SharePoint:InputFormTextBox ID="txtData" RichText="true" RichTextMode="FullHtml" runat="server" TextMode="MultiLine" Rows="10" Columns="10" AllowHyperlink="true"></SharePoint:InputFormTextBox>
请建议我在.ascx文件中创建增强的RTF控件,这有助于开发自定义字段类型.
Please suggest me to create Enhanced rich text control in .ascx file which is helpful to develop custom field type.
谢谢.
推荐答案
我们可以使用jQuery插件 jQuery.spHtmlEditor 来实现.
We can use jQuery plugin jQuery.spHtmlEditor achieve it.
下载: https://github.com/MakingThingsWorkToronto/jQuery.spHtmlEditor
Download: https://github.com/MakingThingsWorkToronto/jQuery.spHtmlEditor
博客: http://makingthings.work/sharepoint-rte-jquery-plugin/
Blog: http://makingthings.work/sharepoint-rte-jquery-plugin/
最好的问候,
丹尼斯
这篇关于创建自定义字段类型时,增强的Rich文本框出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!