<%@ Page Language="C#" MasterPageFile="~/_layouts/application.master" Inherits="Microsoft.SharePoint.WebControls.LayoutsPageBase" %> <%@ Register Tagprefix="Publishing" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <asp:Content ID="Main" runat="server" contentplaceholderid="PlaceHolderMain" > Publishing:HtmlEditor <Publishing:HtmlEditor runat="server" /> </asp:Content>
To use this code place it in an aspx file within the layouts directory and browse from a SharePoint site (e.g. /_layouts/testpage.aspx). You will also need to have MOSS installed as this is a control from the Publishing namespace.
Hope you can help. Thanks.