institucional-brasil/assets/libs/tinymce/tests/manual/accessibility10.html

43 lines
1.5 KiB
HTML
Raw Normal View History

2023-11-27 21:56:41 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>TinyMCE Accessibility Milestone 10</title>
<script src="../js/tinymce/tinymce.dev.js"></script>
<body>
<p>Milestone 10 uses the inlinepopups plugin.</p>
<form name="edit">
<p><label for="title">Title:</label> <input type="text" id="title" name="title"></p>
<p role="button" tabindex="0">Fake Button</p>
<p><label for="main">Main content:</label></p>
<textarea name="main" id="main" style="width: 100%; height: 400px;" aria-label="Main content rich text area">
&lt;p&gt;This is the editor content&lt;/p&gt;
<table><tr><td>Table Cell</td></tr></table>
</textarea>
<p role="button" tabindex="0">Fake Button</p>
<script>
var milestone1 = {
// General options
mode : "exact",
elements : "main",
plugins : 'tabfocus,advlist,searchreplace,table',
tabfocus_elements: ':prev,:next',
object_resizing: false,
theme_advanced_buttons1 : "undo,redo,|,forecolor,backcolor,|,bullist,numlist,|,styleselect,formatselect,fontselect,fontsizeselect,|,hr,advhr",
theme_advanced_buttons2 : "bold,italic,underline,|,justifyleft,justifycenter,justifyright,|,link,anchor,|,help,|,search,replace,image",
theme_advanced_buttons3 : "tablecontrols",
theme_advanced_buttons4 : "",
theme_advanced_toolbar_name1 : "Command",
theme_advanced_toolbar_name2 : "Format",
theme_advanced_toolbar_align : "left",
theme_advanced_toolbar_location : "top"
};
tinymce.init(milestone1);
</script>
<p><label for="category">Category:</label> <input type="text" id="category" name="category" /></p>
</body>
</html>