forked from pedro0alves/tinymce-placeholder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
24 lines (24 loc) · 932 Bytes
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html>
<head>
<title>Placeholder plugin test</title>
<script src="http://tinymce.cachefly.net/4.1/tinymce.min.js"></script>
<script src="placeholder/plugin.js"></script>
<script type="text/javascript">
tinymce.init({
selector: "textarea",
plugins: [ "placeholder" ],
toolbar: false //"undo redo"
});
</script>
</head>
<body>
<h2>Empty Editor</h2>
<textarea class="tinymce" placeholder="This is a test placeholder."></textarea>
<h2>Non-empty Editor</h2>
<textarea class="tinymce" placeholder="This is a test placeholder...">This is an editor with text</textarea>
<h2>Editor without placeholder attribute</h2>
<textarea class="tinymce"></textarea>
<h2>Empty Editor Long Placeholder</h2>
<textarea class="tinymce" placeholder="This is a test placeholder. Very very very very very very very very very very very very very very very very very long placeholdedr."></textarea>
</body>
</html>