在 Sharepoint 2013 中使用富文本框 [英] using rich textbox in Sharepoint 2013
问题描述
我想在 Sharepoint 2013 中使用富文本框,如下图所示.我怎样才能做到这一点?
我已经使用了下面的代码.
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<SharePoint:InputFormTextBox ID="RichTextField1" runat="server" TextMode="MultiLine" RichTextMode="FullHtml" Columns="20" Rows="10"/>
>
但是我无法得到我需要的东西.我有一个带滚动的简单多行文本框.
感谢您的回答.
尝试将其添加到
RichText="true"
或多或少是这样的:
</SharePoint:InputFormTextBox>
此外,如果您使用 chrome 查看此内容,它只会显示为纯文本框,请尝试使用 IE 浏览此内容:)
I want to use a rich textbox in Sharepoint 2013 as seen in the figure below. How can I do that?
I have already used the code below.
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<SharePoint:InputFormTextBox ID="RichTextField1" runat="server" TextMode="MultiLine" RichTextMode="FullHtml" Columns="20" Rows="10"/>
but I could not get what I need. I got a simple multiline textbox with scroll.
Thank you for the answers.
try adding this in
RichText="true"
more or less it would be like this as a sample:
<SharePoint:InputFormTextBox ID="rftDefaultValue"
RichText="true"
RichTextMode="FullHtml" runat="server"
TextMode="MultiLine" Rows="5">
</SharePoint:InputFormTextBox>
also, if you're viewing this using chrome, it would only show as a plain text box, try viewing this using IE :)
这篇关于在 Sharepoint 2013 中使用富文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!