JSPM

@fabwcie/ckeditor5-print

1.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 4
    • Score
      100M100P100Q41637F
    • License MIT

    A plugin for CKEditor 5.

    Package Exports

    • @fabwcie/ckeditor5-print
    • @fabwcie/ckeditor5-print/src/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fabwcie/ckeditor5-print) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @fabwcie/ckeditor5-print

    Add button for print ckeditor content.

    This package was created by the ckeditor5-package-generator package.

    Table of contents

    Install

    npm install @fabwcie/ckeditor5-print

    Available options

    option type default description
    injectCkeCSS boolean true Inject the ckeditor css for print
    contentCSS string undefined Inject custom css for print
    srcCSS string undefined Inject custom css file for print

    Use

    Using module import

    import { Print } from '@fabwcie/ckeditor5-print';
    
    ClassicEditor
      .create( document.querySelector( '#editor' ), {
        plugins: [
          Print,
          // ... other plugins
        ]
      })
      .catch( error => {
          console.error( error );
      } );

    You can also use as simple script

    Download js file here

    <script src="path/to/print.js"></script>
    
    <!-- Or with CDN -->
    <script src="https://cdn/@fabwcie/ckeditor5-print/print.js"></script>

    and that all, print button appear automaticaly !