ckeditor5-image-upload-base64
Version:
The development environment of CKEditor 5 – the best browser-based rich text editor.
37 lines (31 loc) • 805 B
JavaScript
/**
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/**
* @module markdown-gfm/markdown
*/
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import GFMDataProcessor from './gfmdataprocessor';
/**
* The GitHub Flavored Markdown (GFM) plugin.
*
* For a detailed overview, check the {@glink features/markdown Markdown feature documentation}.
*
* @extends module:core/plugin~Plugin
*/
export default class Markdown extends Plugin {
/**
* @inheritDoc
*/
constructor( editor ) {
super( editor );
editor.data.processor = new GFMDataProcessor( editor.data.viewDocument );
}
/**
* @inheritDoc
*/
static get pluginName() {
return 'Markdown';
}
}