File: readonly.html

package info (click to toggle)
ckeditor 4.16.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 258,804 kB
  • sloc: javascript: 239,590; sh: 184; makefile: 64; python: 37; php: 15; xml: 5
file content (11 lines) | stat: -rw-r--r-- 420 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
<textarea id="editor1" cols="10" rows="10"><p>[[placeholder]] foo bar</p></textarea>

<script>
	CKEDITOR.replace( 'editor1', { readOnly: true } );

	// Test has been ignored for IE due to #1575 issue. Remove this ignore statement after the issue fix.
	// Ignore on mobiles due to keyboard shortcuts requirements.
	if ( CKEDITOR.env.ie && !CKEDITOR.env.edge || bender.tools.env.mobile ) {
		bender.ignore();
	}
</script>