mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
2cf3c8bcd8
New changes: eaa4528 Queue up annotation changes to make operations safer 09fc01f [BREAKING CHANGE] Remove span-wrapping of images b59f85f Followup b141a7d2: make inspectors not close immediately in IE 1088cac Define kbd font-family explicity in case environment overrides 137add3 Fix embeddable desktop context popups a2f0f80 Rename getRelativeOffset to getBoundingRect and use in getSelectionRect fc09114 Fallback to node position when getting selection rectangle 1506099 Change comment to meta in whitespace test case to actually test whitespace handling 7dc4854 Remove global overlay classes when destroying MobileSurface 6e6b08a Update OOjs UI to v0.1.0-pre (d6008381aa) e0a8089 Destroy WindowManagers in Context and Surface destructors 8c71904 Never embed the context when an inspector is present 163bd50 [BREAKING CHANGE] Rename 'image' to 'inlineImage' 5dd8bad Make focusables behave correctly when $element != $focusable ba6fba7 Basic block image (figure/figcaption) support Update changes: * ImageNode was renamed to InlineImageNode in VE core * BlockImageNode and BlockImageCaptionNode were added in VE core * ve.ce.ImageNode.css was removed in VE core Change-Id: Ide31b47448a4b4d6388f84a7a6ee9d471c1331f6
337 lines
20 KiB
HTML
337 lines
20 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>VisualEditor Example</title>
|
|
|
|
<!-- oojs-ui -->
|
|
<link rel=stylesheet href="lib/ve/lib/oojs-ui/oojs-ui.svg.css">
|
|
|
|
<!-- visualEditor.standalone.build -->
|
|
<link rel=stylesheet href="lib/ve/src/init/sa/styles/ve.init.sa.css">
|
|
|
|
<!-- oojs-ui-apex -->
|
|
<link rel=stylesheet href="lib/ve/lib/oojs-ui/oojs-ui-apex.css">
|
|
|
|
<!-- visualEditor.core.build -->
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/nodes/ve.ce.FocusableNode.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/nodes/ve.ce.AlienNode.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/nodes/ve.ce.BranchNode.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/nodes/ve.ce.CommentNode.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/nodes/ve.ce.DocumentNode.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/nodes/ve.ce.GeneratedContentNode.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/annotations/ve.ce.LanguageAnnotation.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/nodes/ve.ce.ResizableNode.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/nodes/ve.ce.TableCellNode.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/nodes/ve.ce.TableNode.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/ve.ce.css">
|
|
<link rel=stylesheet href="lib/ve/src/ce/styles/ve.ce.Surface.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/dialogs/ve.ui.CommandHelpDialog.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/tools/ve.ui.FormatTool.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/widgets/ve.ui.LanguageInputWidget.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/widgets/ve.ui.LanguageSearchWidget.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/widgets/ve.ui.ContextItemWidget.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/widgets/ve.ui.ContextMenuWidget.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/widgets/ve.ui.DimensionsWidget.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/widgets/ve.ui.MediaSizeWidget.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/inspectors/ve.ui.CommentInspector.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/inspectors/ve.ui.FragmentInspector.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/inspectors/ve.ui.LinkInspector.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/inspectors/ve.ui.SpecialCharacterInspector.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/ve.ui.Overlay.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/ve.ui.Surface.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/widgets/ve.ui.SurfaceWidget.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/ve.ui.Toolbar.css">
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/ve.ui.Icons.css">
|
|
|
|
<!-- visualEditor.desktop.build -->
|
|
<link rel=stylesheet href="lib/ve/src/ui/styles/ve.ui.DesktopContext.css">
|
|
|
|
<!-- example styles -->
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow-y: scroll;
|
|
background: #fff;
|
|
font: normal 1em/1.5 sans-serif;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- jquery -->
|
|
<script src="lib/ve/lib/jquery/jquery.js"></script>
|
|
|
|
<!-- oojs -->
|
|
<script src="lib/ve/lib/oojs/oojs.jquery.js"></script>
|
|
|
|
<!-- oojs-ui -->
|
|
<script src="lib/ve/lib/oojs-ui/oojs-ui.js"></script>
|
|
|
|
<!-- rangy -->
|
|
<script src="lib/ve/lib/rangy/rangy-core-1.3.js"></script>
|
|
<script src="lib/ve/lib/rangy/rangy-position-1.3.js"></script>
|
|
<script src="lib/ve/lib/rangy/rangy-export.js"></script>
|
|
|
|
<!-- jquery.i18n -->
|
|
<script src="lib/ve/lib/jquery.i18n/src/jquery.i18n.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/jquery.i18n.messagestore.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/jquery.i18n.parser.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/jquery.i18n.emitter.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/jquery.i18n.language.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/jquery.i18n.fallbacks.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/bs.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/dsb.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/fi.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/ga.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/he.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/hsb.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/hu.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/hy.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/la.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/ml.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/os.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/ru.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/sl.js"></script>
|
|
<script src="lib/ve/lib/jquery.i18n/src/languages/uk.js"></script>
|
|
|
|
<!-- jquery.uls.data -->
|
|
<script src="lib/ve/lib/jquery.uls/src/jquery.uls.data.js"></script>
|
|
<script src="lib/ve/lib/jquery.uls/src/jquery.uls.data.utils.js"></script>
|
|
|
|
<!-- unicodejs -->
|
|
<script src="lib/ve/lib/unicodejs/unicodejs.js"></script>
|
|
|
|
<!-- visualEditor.base.build -->
|
|
<script src="lib/ve/src/ve.js"></script>
|
|
<script src="lib/ve/src/ve.track.js"></script>
|
|
<script src="lib/ve/src/init/ve.init.js"></script>
|
|
<script src="lib/ve/src/init/ve.init.Platform.js"></script>
|
|
<script src="lib/ve/src/init/ve.init.Target.js"></script>
|
|
|
|
<!-- visualEditor.standalone.build -->
|
|
<script src="lib/ve/src/init/sa/ve.init.sa.js"></script>
|
|
<script src="lib/ve/src/init/sa/ve.init.sa.Platform.js"></script>
|
|
<script src="lib/ve/src/init/sa/ve.init.sa.Target.js"></script>
|
|
|
|
<!-- visualEditor.core.build -->
|
|
<script src="lib/ve/src/ve.Range.js"></script>
|
|
<script src="lib/ve/src/ve.Node.js"></script>
|
|
<script src="lib/ve/src/ve.BranchNode.js"></script>
|
|
<script src="lib/ve/src/ve.LeafNode.js"></script>
|
|
<script src="lib/ve/src/ve.Document.js"></script>
|
|
<script src="lib/ve/src/ve.EventSequencer.js"></script>
|
|
<script src="lib/ve/src/ve.Filibuster.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.Model.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.ModelRegistry.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.NodeFactory.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.AnnotationFactory.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.AnnotationSet.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.MetaItemFactory.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.Scalable.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.ResizableNode.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.Node.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.BranchNode.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.LeafNode.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.Annotation.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.InternalList.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.MetaItem.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.MetaList.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.TransactionProcessor.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.Transaction.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.Surface.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.SurfaceFragment.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.DataString.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.Document.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.DocumentSlice.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.LinearData.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.DocumentSynchronizer.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.IndexValueStore.js"></script>
|
|
<script src="lib/ve/src/dm/ve.dm.Converter.js"></script>
|
|
<script src="lib/ve/src/dm/lineardata/ve.dm.FlatLinearData.js"></script>
|
|
<script src="lib/ve/src/dm/lineardata/ve.dm.ElementLinearData.js"></script>
|
|
<script src="lib/ve/src/dm/lineardata/ve.dm.MetaLinearData.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.GeneratedContentNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.AlienNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.BreakNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.CenterNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.DefinitionListItemNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.DefinitionListNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.DivNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.DocumentNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.HeadingNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.InternalItemNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.InternalListNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.ListItemNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.ListNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.ParagraphNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.PreformattedNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.TableCaptionNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.TableCellNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.TableNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.TableRowNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.TableSectionNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.TextNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.BlockImageNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.BlockImageCaptionNode.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.InlineImageNode.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.LanguageAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.LinkAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.TextStyleAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.AbbreviationAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.BigAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.BoldAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.CodeSampleAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.CodeAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.DatetimeAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.DefinitionAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.HighlightAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.ItalicAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.QuotationAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.SmallAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.SpanAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.StrikethroughAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.SubscriptAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.SuperscriptAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.UnderlineAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.UserInputAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/annotations/ve.dm.VariableAnnotation.js"></script>
|
|
<script src="lib/ve/src/dm/metaitems/ve.dm.AlienMetaItem.js"></script>
|
|
<script src="lib/ve/src/dm/metaitems/ve.dm.CommentMetaItem.js"></script>
|
|
<script src="lib/ve/src/dm/nodes/ve.dm.CommentNode.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.DomRange.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.AnnotationFactory.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.NodeFactory.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.Document.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.View.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.Annotation.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.Node.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.BranchNode.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.ContentBranchNode.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.LeafNode.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.FocusableNode.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.ResizableNode.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.Surface.js"></script>
|
|
<script src="lib/ve/src/ce/ve.ce.SurfaceObserver.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.GeneratedContentNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.AlienNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.BreakNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.CenterNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.CommentNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.DefinitionListItemNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.DefinitionListNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.DivNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.DocumentNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.HeadingNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.InternalItemNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.InternalListNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.ListItemNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.ListNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.ParagraphNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.PreformattedNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.TableCaptionNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.TableCellNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.TableNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.TableRowNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.TableSectionNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.TextNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.BlockImageNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.BlockImageCaptionNode.js"></script>
|
|
<script src="lib/ve/src/ce/nodes/ve.ce.InlineImageNode.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.LanguageAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.LinkAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.TextStyleAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.AbbreviationAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.BigAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.BoldAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.CodeAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.CodeSampleAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.DatetimeAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.DefinitionAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.HighlightAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.ItalicAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.QuotationAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.SmallAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.SpanAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.StrikethroughAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.SubscriptAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.SuperscriptAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.UnderlineAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.UserInputAnnotation.js"></script>
|
|
<script src="lib/ve/src/ce/annotations/ve.ce.VariableAnnotation.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.Overlay.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.Surface.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.Context.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.Tool.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.Toolbar.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.TargetToolbar.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.ToolFactory.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.Command.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.CommandRegistry.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.Trigger.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.TriggerRegistry.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.Action.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.ActionFactory.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.WindowManager.js"></script>
|
|
<script src="lib/ve/src/ui/actions/ve.ui.AnnotationAction.js"></script>
|
|
<script src="lib/ve/src/ui/actions/ve.ui.ContentAction.js"></script>
|
|
<script src="lib/ve/src/ui/actions/ve.ui.FormatAction.js"></script>
|
|
<script src="lib/ve/src/ui/actions/ve.ui.HistoryAction.js"></script>
|
|
<script src="lib/ve/src/ui/actions/ve.ui.IndentationAction.js"></script>
|
|
<script src="lib/ve/src/ui/actions/ve.ui.ListAction.js"></script>
|
|
<script src="lib/ve/src/ui/actions/ve.ui.WindowAction.js"></script>
|
|
<script src="lib/ve/src/ui/dialogs/ve.ui.CommandHelpDialog.js"></script>
|
|
<script src="lib/ve/src/ui/dialogs/ve.ui.FragmentDialog.js"></script>
|
|
<script src="lib/ve/src/ui/dialogs/ve.ui.NodeDialog.js"></script>
|
|
<script src="lib/ve/src/ui/widgets/ve.ui.LanguageSearchWidget.js"></script>
|
|
<script src="lib/ve/src/ui/widgets/ve.ui.LanguageResultWidget.js"></script>
|
|
<script src="lib/ve/src/ui/dialogs/ve.ui.LanguageSearchDialog.js"></script>
|
|
<script src="lib/ve/src/ui/widgets/ve.ui.LanguageInputWidget.js"></script>
|
|
<script src="lib/ve/src/ui/widgets/ve.ui.SurfaceWidget.js"></script>
|
|
<script src="lib/ve/src/ui/widgets/ve.ui.LinkTargetInputWidget.js"></script>
|
|
<script src="lib/ve/src/ui/widgets/ve.ui.ContextMenuWidget.js"></script>
|
|
<script src="lib/ve/src/ui/widgets/ve.ui.ContextItemWidget.js"></script>
|
|
<script src="lib/ve/src/ui/widgets/ve.ui.DimensionsWidget.js"></script>
|
|
<script src="lib/ve/src/ui/widgets/ve.ui.MediaSizeWidget.js"></script>
|
|
<script src="lib/ve/src/ui/widgets/ve.ui.WhitespacePreservingTextInputWidget.js"></script>
|
|
<script src="lib/ve/src/ui/tools/ve.ui.AnnotationTool.js"></script>
|
|
<script src="lib/ve/src/ui/tools/ve.ui.ClearAnnotationTool.js"></script>
|
|
<script src="lib/ve/src/ui/tools/ve.ui.DialogTool.js"></script>
|
|
<script src="lib/ve/src/ui/tools/ve.ui.FormatTool.js"></script>
|
|
<script src="lib/ve/src/ui/tools/ve.ui.HistoryTool.js"></script>
|
|
<script src="lib/ve/src/ui/tools/ve.ui.IndentationTool.js"></script>
|
|
<script src="lib/ve/src/ui/tools/ve.ui.InspectorTool.js"></script>
|
|
<script src="lib/ve/src/ui/tools/ve.ui.LanguageInspectorTool.js"></script>
|
|
<script src="lib/ve/src/ui/tools/ve.ui.ListTool.js"></script>
|
|
<script src="lib/ve/src/ui/inspectors/ve.ui.FragmentInspector.js"></script>
|
|
<script src="lib/ve/src/ui/inspectors/ve.ui.AnnotationInspector.js"></script>
|
|
<script src="lib/ve/src/ui/inspectors/ve.ui.InsertionInspector.js"></script>
|
|
<script src="lib/ve/src/ui/inspectors/ve.ui.NodeInspector.js"></script>
|
|
<script src="lib/ve/src/ui/inspectors/ve.ui.LinkInspector.js"></script>
|
|
<script src="lib/ve/src/ui/inspectors/ve.ui.CommentInspector.js"></script>
|
|
<script src="lib/ve/src/ui/inspectors/ve.ui.LanguageInspector.js"></script>
|
|
<script src="lib/ve/src/ui/inspectors/ve.ui.SpecialCharacterInspector.js"></script>
|
|
|
|
<!-- visualEditor.desktop.build -->
|
|
<script src="lib/ve/src/ui/ve.ui.DesktopSurface.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.DesktopContext.js"></script>
|
|
<script src="lib/ve/src/ui/ve.ui.DesktopInspectorManager.js"></script>
|
|
|
|
<!-- example scripts -->
|
|
<script>
|
|
function loadInlineExample( code, options, callback ) {
|
|
try {
|
|
eval( code );
|
|
callback && callback( true );
|
|
} catch (e) {
|
|
document.body.appendChild( document.createTextNode( e ) );
|
|
callback && callback( false, e );
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|