You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Global-sales/public/ckeditor/plugins/exportpdf/tests/manual/stylesheets.html

37 lines
1.2 KiB
HTML

<h2>Classic Editor</h2>
<textarea id="editor1">
<span class="badge badge-success">Classic Editor</span>
</textarea>
<h2>Divarea Editor</h2>
<div id="editor2">
<span class="badge badge-success">Divarea Editor</span>
</div>
<h2>Inline Editor</h2>
<div id="editor3" contenteditable="true">
<span class="badge badge-success">Inline Editor</span>
</div>
<script>
exportPdfUtils.initManualTest();
CKEDITOR.replace( 'editor1', exportPdfUtils.getDefaultConfig( 'manual', {
exportPdf_stylesheets: [ 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' ],
extraPlugins: 'wysiwygarea,exportpdf',
allowedContent: true
} ) );
CKEDITOR.replace( 'editor2', exportPdfUtils.getDefaultConfig( 'manual', {
exportPdf_stylesheets: [ 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' ],
extraPlugins: 'divarea,exportpdf',
allowedContent: true
} ) );
CKEDITOR.inline( 'editor3', exportPdfUtils.getDefaultConfig( 'manual', {
exportPdf_stylesheets: [ 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' ],
extraPlugins: 'floatingspace,exportpdf',
allowedContent: true
} ) );
</script>