This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.

23 lines
561 B
C#

using System.Threading.Tasks;
namespace Oqtane.Interfaces
{
/// <summary>
/// Text editor interface.
/// </summary>
public interface ITextEditor
{
/// <summary>
/// initializes the editor with the initialize content.
/// </summary>
/// <param name="content">the initialize content.</param>
void Initialize(string content, bool updated);
/// <summary>
/// get content from the editor.
/// </summary>
/// <returns></returns>
Task<string> GetContent();
}
}