• Version 27.0.5
  • Published
  • 7.25 kB
  • 2 dependencies
  • MIT license


npm i @types/ckeditor__ckeditor5-paragraph
yarn add @types/ckeditor__ckeditor5-paragraph
pnpm add @types/ckeditor__ckeditor5-paragraph


TypeScript definitions for @ckeditor/ckeditor5-paragraph



class Paragraph

class Paragraph extends Plugin {}
  • The paragraph feature for the editor.

    It introduces the <paragraph> element in the model which renders as a <p> element in the DOM and data.

    It also brings two editors commands:

    * The command that converts all blocks in the model selection into paragraphs. * The command that inserts a new paragraph at a specified location in the model.

property paragraphLikeElements

static paragraphLikeElements: Set<
| 'blockquote'
| 'dd'
| 'div'
| 'dt'
| 'h1'
| 'h2'
| 'h3'
| 'h4'
| 'h5'
| 'h6'
| 'li'
| 'p'
| 'td'
| 'th'

    property pluginName

    static readonly pluginName: string;

      method init

      init: () => void;

        class ParagraphButtonUI

        class ParagraphButtonUI extends Plugin {}
        • This plugin defines the 'paragraph' button. It can be used together with to replace the standard heading dropdown.

          This plugin is not loaded automatically by the plugin. It must be added manually.

          ClassicEditor .create( { plugins: [ ..., Heading, Paragraph, HeadingButtonsUI, ParagraphButtonUI ] toolbar: [ 'paragraph', 'heading1', 'heading2', 'heading3' ] } ) .then( ... ) .catch( ... );


        constructor(editor: EditorWithUI);

          property editor

          readonly editor: EditorWithUI;

            method init

            init: () => void;

              Package Files (3)

              Dependencies (2)

              Dev Dependencies (0)

              No dev dependencies.

              Peer Dependencies (0)

              No peer dependencies.


              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/ckeditor__ckeditor5-paragraph.

              • Markdown
              • HTML
                <a href="https://www.jsdocs.io/package/@types/ckeditor__ckeditor5-paragraph"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>