Sha256: f17d87fb2673c50a20c0c0e6442e7e8fc17d1f4d5ed301b593ae5c40a1b66fc5

Contents?: true

Size: 568 Bytes

Versions: 5

Compression:

Stored size: 568 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' ) );

	editor.on( 'instanceReady', function() {
		if ( !CKEDITOR.config.exportPdf_tokenUrl ) {
			bender.ignore();
		}
	} );

	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/tokenfetching.html
ckeditor_rails-4.16.3 vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenfetching.html
ckeditor_rails-4.16.2 vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenfetching.html
ckeditor_rails-4.16.1 vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenfetching.html
ckeditor_rails-4.16.0 vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenfetching.html