| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 3 | <head> |
|---|
| 4 | <title>#5892 - Test Page</title> |
|---|
| 5 | <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
|---|
| 6 | <script type="text/javascript" src="../ckeditor.js"></script> |
|---|
| 7 | </head> |
|---|
| 8 | <body> |
|---|
| 9 | <p> |
|---|
| 10 | <textarea cols="80" id="editor1" name="editor1" rows="60"> |
|---|
| 11 | <p> |
|---|
| 12 | Some text before an embed.</p> |
|---|
| 13 | <p contenteditable="false"> |
|---|
| 14 | <a class="embedded" href="https://localhost:9443/rdm/resources/_bC7NIoYBEd-Wb4kvtXlEUQ" id="_1278092764053" style="display: none;"> </a></p> |
|---|
| 15 | <div class="embedded" contenteditable="false" id="_1278092764053" style="height: auto; width: auto; position: relative;"> |
|---|
| 16 | <div class="embeddedRTHeader" contenteditable="false"> |
|---|
| 17 | <span contenteditable="false" style="background: none repeat scroll 0% 0% white; position: relative; left: -5px; display: inline-block;"><img contenteditable="false" src="undefined" /></span><span class="embeddedRTTitle" contenteditable="false" style="display: inline-block;">RT 5</span></div> |
|---|
| 18 | <div class="embeddedRequirement" contenteditable="false" style="width: auto;"> |
|---|
| 19 | <div contenteditable="false" xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 20 | <p contenteditable="false" id="_1278092692034"> |
|---|
| 21 | This is some text for an embedded artifact. Another sentence. More text...</p> |
|---|
| 22 | <p contenteditable="false" id="_1278092692035"> |
|---|
| 23 | Another paragraph.</p> |
|---|
| 24 | </div> |
|---|
| 25 | </div> |
|---|
| 26 | </div> |
|---|
| 27 | <p> |
|---|
| 28 | Some text after an embed</p> |
|---|
| 29 | </textarea> |
|---|
| 30 | <script type="text/javascript"> |
|---|
| 31 | |
|---|
| 32 | CKEDITOR.replace( 'editor1', |
|---|
| 33 | { |
|---|
| 34 | on : |
|---|
| 35 | { |
|---|
| 36 | key : function( ev ) |
|---|
| 37 | { |
|---|
| 38 | var editor = ev.editor, |
|---|
| 39 | keyCode = ev.data.keyCode; |
|---|
| 40 | |
|---|
| 41 | if ( keyCode == 9 ) |
|---|
| 42 | { |
|---|
| 43 | ev.cancel(); |
|---|
| 44 | editor.execCommand("indent"); |
|---|
| 45 | } |
|---|
| 46 | else if ( keyCode == ( CKEDITOR.SHIFT + 9 ) ) |
|---|
| 47 | { |
|---|
| 48 | ev.cancel(); |
|---|
| 49 | editor.execCommand("outdent"); |
|---|
| 50 | } |
|---|
| 51 | } |
|---|
| 52 | } |
|---|
| 53 | }); |
|---|
| 54 | |
|---|
| 55 | </script> |
|---|
| 56 | </p> |
|---|
| 57 | </body> |
|---|
| 58 | </html> |
|---|