Files
WebODF/programs/editor/src-localeditor.html
T
Philip Peitsch 5e26b5a1e0 Meet Bella. She will destroy your documents.
* Supports multiple instances in the same doc
* Able to exercise entire selection controller
* Can say meow (and other text manipulation actions)
* Knows  about undo & redo
* Will also destroy your document formatting too!
* Can cut, copy & paste
* Bella is a tidy cat and likes valid documents
* Bella can be hooked up to use an existing cursor
* Custom actions to be loaded externally
* Has AMD integration
* Add checks to ensure the cursor is in a valid step.
Issue highlighted in review of PR #451.
* Add a seeded random number generator to allow reproduction of crashes.
Original source: https://github.com/davidbau/seedrandom
* Add some really simple reporting stats
* Allow seed to be specified via URL

Major features
==============
Add an "auto drive" feature (the cat herder)

Auto drive will automatically cycle the page after the specified
number of pounces. If an unhandled exception occurs, it will PUT a
file to the server in the same location that contains the number of
pounces that happened, and the original seed, along with the error
information.

Notes
=====
* Limit how frequently document length checks are performed
* Using a real SessionController causes problems with double-events
2015-06-07 13:16:33 +02:00

54 lines
2.2 KiB
HTML

<!DOCTYPE HTML>
<html style="width:100%; height:100%; margin:0px; padding:0px" xml:lang="en" lang="en">
<head>
<!--
This HTML page is meant to provide a starting point for testing
out of a source-tree. It does not require a dojo-amalgamation
but uses dojo directly from Google's CDN (content delivery networks).
This page is meant to be served out of a webodf source directory.
-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Local Editor (CDN)</title>
<!-- dojo setup: start -->
<script type="text/javascript">
var basedir = window.location.pathname;
basedir = basedir.substr(0, basedir.lastIndexOf("/"));
dojoConfig = {
paths: {
"webodf/editor": basedir,
"webodf/plugins": basedir + "/plugins",
"resources": basedir + "/resources"
}
}
</script>
<link rel="stylesheet" type="text/css"
href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/resources/dojo.css"/>
<link rel="stylesheet" type="text/css"
href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dijit/themes/claro/claro.css"/>
<link rel="stylesheet" type="text/css"
href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojox/layout/resources/ExpandoPane.css"/>
<link rel="stylesheet"
href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojox/widget/ColorPicker/ColorPicker.css"/>
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/dojo.js"
data-dojo-config="async: true"></script>
<!-- dojo setup: end -->
<!-- editor: start -->
<link rel="stylesheet" type="text/css" href="wodotexteditor.css"/>
<script src="webodf.js" type="text/javascript" charset="utf-8"></script>
<script src="wodotexteditor.js" type="text/javascript" charset="utf-8"></script>
<script src="FileSaver.js" type="text/javascript" charset="utf-8"></script>
<script src="localfileeditor.js" type="text/javascript" charset="utf-8"></script>
<!-- editor: end -->
</head>
<body style="width:100%; height:100%; margin:0px; padding:0px" onload="createEditor();">
<div id="editorContainer" style="width:100%; height:100%; margin:0px; padding:0px">
</div>
</body>
</html>