Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F885159
test_RichText.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
test_RichText.html
View Options
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<
html
>
<
head
>
<
title
>
Rich Text System Test
</
title
>
<
style
type
=
"text/css"
>
@
import
"../../../dojo/resources/dojo.css"
;
@
import
"../css/dijitTests.css"
;
</
style
>
<
script
type
=
"text/javascript"
src
=
"../../../dojo/dojo.js"
djConfig
=
"parseOnLoad: true, isDebug: true"
></
script
>
<
script
type
=
"text/javascript"
src
=
"../_testCommon.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"../../_editor/selection.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"../../_editor/RichText.js"
></
script
>
<
script
language
=
"JavaScript"
type
=
"text/javascript"
>
dojo
.
require
(
"dijit._editor.RichText"
);
dojo
.
require
(
"dojo.parser"
);
// scan page for widgets and instantiate them
</
script
>
</
head
>
<
body
>
<
h1
class
=
"testTitle"
>
Rich Text Test
</
h1
>
<
div
style
=
"border: 1px dotted black;"
>
<
h3
>
thud
</
h3
>
<
textarea
dojoType
=
"dijit._editor.RichText"
id
=
"editor1"
styleSheets
=
"../../../dojo/resources/dojo.css"
>
<
h1
>
header one
</
h1
>
<
ul
>
<
li
>
Right click on the client area of the page (ctrl-click for Macintosh). Menu should open.
</
li
>
<
li
>
Right click on each of the form controls above. Menu should open.
</
li
>
<
li
>
Right click near the righthand window border. Menu should open to the left of the pointer.
</
li
>
<
li
>
Right click near the bottom window border. Menu should open above the pointer.
</
li
>
</
ul
>
</
textarea
>
<
button
onclick
=
"dijit.byId('editor1').addStyleSheet('test_richtext.css')"
>
add stylesheet
</
button
>
<
button
onclick
=
"dijit.byId('editor1').removeStyleSheet('test_richtext.css')"
>
remove stylesheet
</
button
>
</
div
>
<
div
style
=
"border: 1px dotted black;"
>
<
h3
>
blah
</
h3
>
<
div
dojoType
=
"dijit._editor.RichText"
styleSheets
=
"../../dojo/resources/dojo.css"
>
<
ul
>
<
li
>
Right click on the client area of the page (ctrl-click for Macintosh). Menu should open.
</
li
>
<
li
>
Right click on each of the form controls above. Menu should open.
</
li
>
<
li
>
Right click near the righthand window border. Menu should open to the left of the pointer.
</
li
>
<
li
>
Right click near the bottom window border. Menu should open above the pointer.
</
li
>
</
ul
>
</
div
>
<
h3
>
..after
</
h3
>
</
div
>
</
body
>
</
html
>
File Metadata
Details
Attached
Mime Type
text/html
Expires
Sun, Apr 6, 13:37 (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27478
Default Alt Text
test_RichText.html (2 KB)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment