Sha256: 2a772cbe6ed85ba220c2f69fabada58147239927753572fcb09fa35bca487d07

Contents?: true

Size: 475 Bytes

Versions: 5

Compression:

Stored size: 475 Bytes

Contents

<div id="editor">
	<p>Foo bar</p>
</div>

<div id="tokenValue" style="word-break:break-all;border:1px solid red;"></div>

<script>
	exportPdfUtils.initManualTest();

	var editor = CKEDITOR.replace( 'editor', exportPdfUtils.getDefaultConfig( 'manual', {
		exportPdf_tokenUrl: ''
	} ) );

	editor.on( 'exportPdf', function( evt ) {
		var value = CKEDITOR.document.findOne( '#tokenValue' );

		value.setHtml( evt.data.token );
	}, null, null, 17 );
</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ckeditor_rails-4.17.0 vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenwithouturl.html
ckeditor_rails-4.16.3 vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenwithouturl.html
ckeditor_rails-4.16.2 vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenwithouturl.html
ckeditor_rails-4.16.1 vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenwithouturl.html
ckeditor_rails-4.16.0 vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenwithouturl.html