AceEditor 12.2.2

Platform Platform Platform

EPiServer AceEditor

This is an integration for EPiServer to use Ace editor, a well-known code editor for the web.


To use AceEditor in your project, first try to install it via EPiServer Nuget

PM> Install-Package AceEditor

Before CMS 12, the module is loaded in web.config and should be automatically added when the package is installed. After CMS 12, the module is loaded explicitly during startup with the following example:

public class Startup
{
    ...
    public void ConfigureServices(IServiceCollection services)
    {
        ...
        services.AddAceEditor();
        ...
    }
    ...
}

In your project, decorate your string property with UIHint attribute

[UIHint(AceEditor.UIHints.Javascript)]

Also supports XhtmlString property type for Html language.

AceEditor can support many languages, but as some of them is not quite popular, so I just pick the one which are suitable to use. The list of supported languages are:

  • C_Cpp
  • Coffee
  • Csharp
  • Css
  • Django
  • Handlebars
  • Html
  • HtmlElixir
  • HtmlRuby
  • Java
  • Javascript
  • Json
  • Jsp
  • Less
  • Lua
  • Lucene
  • Markdown
  • Mysql
  • ObjectiveC
  • Pascal
  • Perl
  • Pgsql
  • Php
  • Powershell
  • Python
  • Razor
  • Rhtml
  • Ruby
  • Sass
  • Scheme
  • Scss
  • Sql
  • Sqlserver
  • Svg
  • Swift
  • Text
  • Typescript
  • Vbscript
  • Xml
  • Xquery
  • Yaml

Showing the top 5 packages that depend on AceEditor.

Packages Downloads
EPiServer.Personalization.Content.UI
Content Recommendations Integration for EPiServer CMS
33

Update to target .NET 6 and update minimal dependencies

.NET Framework 4.6.1

.NET 6.0

Version Downloads Last updated
12.2.2 29 01/04/2024
12.2.1 13 01/04/2024
12.1.3 15 01/03/2024
12.1.1 79 05/11/2022
11.1.1 69 05/11/2022
11.1.0 1,856 10/01/2019
11.0.1 1,959 03/22/2018
11.0.0 96 03/19/2018
10.1.0 80 10/01/2019
1.0.0 104 12/21/2017