CODE Editor documentation

This is the main manual for the browser editor and the .NET 10 CODE.Editor.WinForms.TextEditor control, as delivered with 0.4.0-preview.2. It includes the custom preview pipeline and preview-only CSS. The JavaScript component's internal API version is 3, independently of the NuGet version.

The editor provides visual content editing and source editing over a separate document model. The host chooses the storage format, permitted features, toolbar, persistence, and image storage. The WinForms control embeds its web assets in its DLL and exposes typed .NET properties, methods, and events.

This manual supersedes the earlier milestone descriptions wherever they conflict with the current implementation. It distinguishes implemented behavior from remaining acceptance work. This is still a preview implementation, not a promise of full Markdown conformance or completed mobile qualification.

Reviewed against the current layout and recent fixes on 20 October 2026, Hawaii, including explicit Source formatting state, ASP.NET Development startup, and WinForms Assets links. The complete manual is available under docs in Solution Explorer. Files under history/ are archived records and retain historical paths and test counts; they are not current setup instructions.

Start here

The screenshot catalog shows the running browser and WinForms samples in Source and Visual modes, with tables, preview and find/replace. The images use a shared example note and are embedded in the relevant chapters below.

Your task Read first Then read
Integrate with Olympus or another WinForms application WinForms quick start Saving, properties
Embed in a website Web quick start JavaScript API
Expand ##currentevents## or style a blog preview Preview rendering Events and types
Restrict formatting or require clean Markdown Formats and policy Editing
Add image paste/drop/upload Images and clipboard Host integration
Maintain the editor Architecture Testing, roadmap

Complete contents

  1. Overview and feature map
  2. Web quick start
  3. WinForms quick start
  4. Formats and editing policy
  5. Editing behavior and keyboard shortcuts
  6. Lists and tables
  7. Preview rendering, customization and CSS
  8. Images and clipboard
  9. State, selection, history and saving
  10. JavaScript API reference
  11. WinForms property reference
  12. WinForms method reference
  13. WinForms events, enums and data types
  14. Web, ASP.NET, Photino and WebView2 integration
  15. Architecture and maintenance
  16. Security and performance
  17. Testing and troubleshooting
  18. Roadmap and known limitations

Essential integration rules

Repository and outputs

Start at the root README. Shared browser source lives under src/CODE.Editor.Web/, and the reusable .NET control under src/CODE.Editor.WinForms/. Build CODE.Editor.sln through ./build/build.ps1. Generated browser files, packages and verification logs live under artifacts/. No external JavaScript editor framework, npm dependency or CDN is required by the runtime.