Fix #4358: RichTextEditor Provider Abstraction.
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
using Oqtane.Models;
|
||||
using Oqtane.Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Oqtane.Modules
|
||||
{
|
||||
@ -31,6 +33,17 @@ namespace Oqtane.Modules
|
||||
/// </summary>
|
||||
List<Resource> Resources { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The component types which need to register it's own resources.
|
||||
/// </summary>
|
||||
List<string> ResourcesRegistrationTypes { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Identifies all resources in a module including resources from resources registration types.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<List<Resource>> GetResources(IServiceProvider serviceProvider, Page page);
|
||||
|
||||
/// <summary>
|
||||
/// Specifies the required render mode for the module control ie. Static,Interactive
|
||||
/// </summary>
|
||||
|
@ -14,5 +14,10 @@ namespace Oqtane.Interfaces
|
||||
/// The text editor type full name.
|
||||
/// </summary>
|
||||
string EditorType { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The text editor settings type full name.
|
||||
/// </summary>
|
||||
string SettingsType { get; }
|
||||
}
|
||||
}
|
||||
|
@ -81,7 +81,9 @@ namespace Oqtane.Shared
|
||||
public const string DefaultSearchProviderName = "Database";
|
||||
public const string SearchPageIdPropertyName = "PageId";
|
||||
public const string SearchModuleIdPropertyName = "ModuleId";
|
||||
|
||||
|
||||
public const string DefaultTextEditorProvider = "Oqtane.Modules.Controls.QuillJSTextEditor, Oqtane.Client";
|
||||
|
||||
// Obsolete constants
|
||||
|
||||
const string RoleObsoleteMessage = "Use the corresponding member from Oqtane.Shared.RoleNames";
|
||||
|
Reference in New Issue
Block a user