File: dnd.html

package info (click to toggle)
ckeditor 4.19.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 290,372 kB
  • sloc: javascript: 242,409; sh: 202; makefile: 64; python: 37; php: 15; xml: 5
file content (27 lines) | stat: -rw-r--r-- 974 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<textarea id="editor" cols="10" rows="10">
	<p>Foo bar</p>

	<div data-oembed-url="https://twitter.com/reinmarpl/status/573118615274315776">
		<blockquote class="twitter-tweet">
			<p>Coding session with <a href="https://twitter.com/fredck">@fredck</a>, <a href="https://twitter.com/anowodzinski">@anowodzinski</a> and Mr Carrot. <a href="http://t.co/FLV5UXpfaT">pic.twitter.com/FLV5UXpfaT</a></p>
			&mdash; Piotrek KoszuliƄski (@reinmarpl) <a href="https://twitter.com/reinmarpl/status/573118615274315776">March 4, 2015</a></blockquote>
		<script async="" charset="utf-8" src="//platform.twitter.com/widgets.js"></script>
	</div>

	<p>Foo bar.</p>
</textarea>

<script>
	if ( bender.tools.env.mobile ) {
		bender.ignore();
	}

	embedTools.delayJsonp();

	CKEDITOR.replace( 'editor', {
		height: 500,
		// Make them narrow so images don't take too much space.
		width: 600,
		embed_provider: '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}'
	} );
</script>