43 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
		
		
			
		
	
	
			43 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
| 
								 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								<meta charset="UTF-8">
							 | 
						||
| 
								 | 
							
								<title>TinyMCE Accessibility Milestone 6</title>
							 | 
						||
| 
								 | 
							
								<script src="../js/tinymce/tinymce.dev.js"></script>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								<p>Milestone 6 adds the status bar.</p>
							 | 
						||
| 
								 | 
							
								<form name="edit">
							 | 
						||
| 
								 | 
							
								<p><label for="title">Title:</label> <input type="text" id="title" name="title"></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">
							 | 
						||
| 
								 | 
							
								<p>This is the editor content</p>
							 | 
						||
| 
								 | 
							
								<table><tr><td>Table Cell</td></tr></table>
							 | 
						||
| 
								 | 
							
								</textarea>
							 | 
						||
| 
								 | 
							
								<script>
							 | 
						||
| 
								 | 
							
								var milestone1 = {
							 | 
						||
| 
								 | 
							
										// General options
							 | 
						||
| 
								 | 
							
										mode : "exact",
							 | 
						||
| 
								 | 
							
										elements : "main",
							 | 
						||
| 
								 | 
							
										plugins : 'tabfocus,table',
							 | 
						||
| 
								 | 
							
										tabfocus_elements: ':prev,:next',
							 | 
						||
| 
								 | 
							
										object_resizing: false,
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										theme_advanced_buttons1 : "undo,redo",
							 | 
						||
| 
								 | 
							
										theme_advanced_buttons2 : "",
							 | 
						||
| 
								 | 
							
										theme_advanced_buttons3 : "",
							 | 
						||
| 
								 | 
							
										theme_advanced_buttons4 : "",
							 | 
						||
| 
								 | 
							
										theme_advanced_toolbar_name1 : "Command",
							 | 
						||
| 
								 | 
							
										theme_advanced_toolbar_name2 : "Format",
							 | 
						||
| 
								 | 
							
										theme_advanced_toolbar_align : "left",
							 | 
						||
| 
								 | 
							
										theme_advanced_toolbar_location : "top",
							 | 
						||
| 
								 | 
							
										theme_advanced_statusbar_location: 'bottom'
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								tinymce.init(milestone1);
							 | 
						||
| 
								 | 
							
								</script>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<p><label for="category">Category:</label> <input type="text" id="category" name="category" /></p>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |