Index: src/webapp/tests/manual-tests/html/InlineEdit.html =================================================================== --- src/webapp/tests/manual-tests/html/InlineEdit.html (revision 7203) +++ src/webapp/tests/manual-tests/html/InlineEdit.html (working copy) @@ -1,124 +0,0 @@ - - -
- -The following line is an empty inline edit with default invitation text: - -
- -The following line is an empty inline edit with custom invitation text: - -
- -- These edit fields - are all set up - with a single - function call - and with - selectOnEdit true., - as well as each being individually undoable. -
- -- These edit fields - are all set up - with a single - function call - and with - selectOnEdit true.(2nd copy), - as well as each being individually undoable. -
- -The following text is an empty inline edit 'span' with NO invitation text: - - This text is after the inline edit. -
- -- This text has a tooltip with the default text. -
- -- This text has a tooltip with custom text. -
- -- This control features an undoable edit mode -
- -|
- This is an editable table cell.
-
-
-
- |
-
- This is another editable table cell.
-
-
-
- |
-
The words in bold are editable.
++ The quick brown fox jumped over the lazy dogs and then... ++ + +
The words in bold are editable. with a maximum of 35 characters allowed.
++ The quick brown fox jumped + over the lazy dogs + + + + and then... ++ + +
The words in bold are editable.
++ ++ + +The quick brown fox jumped over the lazy dogs and then...
+The quick brown fox over jumped the lazy dogs and then...
+The quick brown fox jumped over the lazy dogs and then...
+ +The quick brown fox jumped over the lazy dogs and then...
+The over quick brown fox jumped the lazy dogs and then...
+
| Artist | +Album | +Year | +Genre | +Play Length | +Label | +Review 1 | +Review 2 | +
|---|---|---|---|---|---|---|---|
| + Portishead + | +Third | +2008 | +Triphop | +49 min 13 s | +Universal Music | +
+
+
+
+ |
+
+
+
+
+ |
+
| Artist | +Album | +Year | +Genre | +Play Length | +Label | +Review 1 | +Review 2 | +
|---|---|---|---|---|---|---|---|
| + Portishead + | +Third | +2008 | +Triphop | +49 min 13 s | +Universal Music | +
+
+
+
+ |
+
+
+
+
+ |
+
" +
+ "
" +
+ "";
+ var markupNode = $(markup);
+ targetContainer.append(markupNode);
+ return markupNode;
+ };
+
+ /**
+ * Simple inline edit example.
+ */
+ var simpleEditor = fluid.inlineEdit("#simpleEdit", {
+ componentDecorators: {
+ type: "fluid.undoDecorator"
+ }
+ });
+
+ /**
+ * Customized simple inline edit.
+ */
+ fluid.inlineEdit("#customEdit", {
+ selectors: {
+ editContainer: "#customEditorContainer",
+ edit: "#customizedEditField"
+ },
+ componentDecorators: {
+ type: "fluid.undoDecorator",
+ options: {
+ renderer: myUndoRenderer
+ }
+ }
+ });
+
+ /**
+ * Multiple inline text editors.
+ */
+ fluid.inlineEdits("#multipleEdit", {
+ selectors: {
+ text: ".editableText",
+ editables : "p"
+ },
+ componentDecorators: {
+ type: "fluid.undoDecorator"
+ }
+ });
+
+ /**
+ * Tiny MCE rich inline text editor example.
+ */
+ var richEditor1 = fluid.inlineEdit.tinyMCE("#richEdit1", {
+ tinyMCE: {width: 1024},
+ componentDecorators: {
+ type: "fluid.undoDecorator"
+ }
+ });
+ makeButtons(richEditor1);
+
+ /**
+ * FCK Editor rich inline text editor example.
+ */
+ var richEditor2 = fluid.inlineEdit.FCKEditor("#richEdit2", {
+ FCKEditor: {BasePath: "../../../../tests/manual-tests/lib/fckeditor/"},
+ componentDecorators: {
+ type: "fluid.undoDecorator"
+ }
+ });
+ makeButtons(richEditor2);
+
+ /**
+ * Mist theme block.
+ */
+ fluid.inlineEdit("#artistName", {
+ componentDecorators: {
+ type: "fluid.undoDecorator"
+ }
+ });
+
+ var richEditor3 = fluid.inlineEdit.tinyMCE("#cd-review1", {
+ tinyMCE: {width: 300},
+ componentDecorators: {
+ type: "fluid.undoDecorator"
+ }
+ });
+ makeButtons(richEditor3);
+
+ var richEditor4 = fluid.inlineEdit.FCKEditor("#cd-review2", {
+ FCKEditor: {BasePath: "../../../../tests/manual-tests/lib/fckeditor/"},
+ componentDecorators: {
+ type: "fluid.undoDecorator"
+ }
+ });
+ makeButtons(richEditor4);
+
+ /**
+ * High Contrast theme block.
+ */
+ fluid.inlineEdit("#artistNameHC", {
+ componentDecorators: {
+ type: "fluid.undoDecorator"
+ }
+ });
+
+ var richEditor5 = fluid.inlineEdit.tinyMCE("#cd-review1HC", {
+ tinyMCE: {width: 300},
+ componentDecorators: {
+ type: "fluid.undoDecorator"
+ }
+ });
+ makeButtons(richEditor5);
+
+ var richEditor6 = fluid.inlineEdit.FCKEditor("#cd-review2HC", {
+ FCKEditor: {BasePath: "../../../../tests/manual-tests/lib/fckeditor/"},
+ componentDecorators: {
+ type: "fluid.undoDecorator"
+ }
+ });
+ makeButtons(richEditor6);
+ };
+
+ inlineEditSetup();
+ };
+})(jQuery, fluid);
\ No newline at end of file
Index: src/webapp/standalone-demos/quick-start-examples/inlineEdit/html/InlineEdit.html
===================================================================
--- src/webapp/standalone-demos/quick-start-examples/inlineEdit/html/InlineEdit.html (revision 7203)
+++ src/webapp/standalone-demos/quick-start-examples/inlineEdit/html/InlineEdit.html (working copy)
@@ -1,163 +0,0 @@
-
-
-
-
- The words in bold are editable.
-- The quick brown fox jumped over the lazy dogs and then... -- - -
The words in bold are editable. with a maximum of 35 characters allowed.
-- The quick brown fox jumped - over the lazy dogs - - - - and then... -- - -
The words in bold are editable.
--- -The quick brown fox jumped over the lazy dogs and then...
-The quick brown fox over jumped the lazy dogs and then...
-The quick brown fox jumped over the lazy dogs and then...
-The quick brown fox jumped over the lazy dogs and then...
-The over quick brown fox jumped the lazy dogs and then...
-