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.
-
-
-
-
-
Index: src/webapp/tests/manual-tests/css/InlineEdit.css
===================================================================
--- src/webapp/tests/manual-tests/css/InlineEdit.css (revision 7203)
+++ src/webapp/tests/manual-tests/css/InlineEdit.css (working copy)
@@ -1,20 +0,0 @@
-form, #inline-edit4 {
- padding: 1em;
-}
-
-.fl-inlineEdit-invitation {
- background-color: #FFECB3;
- /* See http://www.quirksmode.org/css/cursor.html#note for cross-platform recommendation */
- cursor: pointer;
-}
-
-.fl-inlineEdit-invitation-text {
- color: #999999;
-}
-.fl-inlineEdit-focus {
- border: 2px solid #777777;
-}
-
-.fluid-undo {
- font-size: smaller;
-}
\ No newline at end of file
Index: src/webapp/tests/manual-tests/js/rich-text-inline-edit.js
===================================================================
--- src/webapp/tests/manual-tests/js/rich-text-inline-edit.js (revision 7203)
+++ src/webapp/tests/manual-tests/js/rich-text-inline-edit.js (working copy)
@@ -1,48 +0,0 @@
-/*
-Copyright 2008-2009 University of Cambridge
-Copyright 2008-2009 University of Toronto
-Copyright 2007-2009 University of California, Berkeley
-
-Licensed under the Educational Community License (ECL), Version 2.0 or the New
-BSD license. You may not use this file except in compliance with one these
-Licenses.
-
-You may obtain a copy of the ECL 2.0 License and BSD License at
-https://source.fluidproject.org/svn/LICENSE.txt
-*/
-
-(function ($) {
- $(function () {
-
- function makeButtons(editor) {
- $(".save", editor.container).click(function(){
- editor.finish();
- return false;
- });
-
- $(".cancel", editor.container).click(function(){
- editor.cancel();
- return false;
- });
- }
-
- var richEditor = fluid.inlineEdit.tinyMCE("#rich-editable-paragraph");
- makeButtons(richEditor);
-
- var richEditor2 = fluid.inlineEdit.tinyMCE("#rich-editable-paragraph-2",
- //{tinyMCE: {theme: "advanced"}} // this will cause the entire browser to become corrupted
- {tinyMCE: {width: 1024}}
- );
- makeButtons(richEditor2);
-
- var richEditor3 = fluid.inlineEdit.FCKEditor("#FCK-editable-paragraph",
- {FCKEditor: {BasePath: "../lib/fckeditor/"}});
- makeButtons(richEditor3);
-
- var richEditor4 = fluid.inlineEdit.FCKEditor("#FCK-editable-paragraph-2",
- {FCKEditor: {Width: 600, BasePath: "../lib/fckeditor/"}}
- );
- makeButtons(richEditor4);
-
- });
-})(jQuery);
\ No newline at end of file
Index: src/webapp/standalone-demos/quick-start-examples/inline-edit/html/inline-edit.html
===================================================================
--- src/webapp/standalone-demos/quick-start-examples/inline-edit/html/inline-edit.html (revision 0)
+++ src/webapp/standalone-demos/quick-start-examples/inline-edit/html/inline-edit.html (revision 0)
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CD Database Example
+
+
+
+
+
Example 1. Default Inline Edit
+
The words in bold are editable.
+
+ The quick brown fox jumped over the lazy dogs and then...
+
+
+
+
Example 2. Customized edit field
+
The words in bold are editable. with a maximum of 35 characters allowed.
+
+ The quick brown fox jumped
+ over the lazy dogs
+
+
+
+ and then...
+
+
+
+
Example 3. Multiple Inline Edits
+
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...
+
+
+
+
Example 5: Rich Text Inline Edit (using Tiny_MCE editor)
+
+
+
After a hiatus, Portishead is back with their first studio
+ album in 6 years. Third brings back the familiar and
+ the new, and none of this is best exemplified than in the track
+ Machine Gun. It seems that regardless of how Portishead
+ sounds now, the one thing that has stayed constant is their refusal to be ordinary.
+
+
+
+
+
+
+
+
+
+
Example 6: Rich Text Inline Edit (using FCKEditor)
+
+
+
After a hiatus, Portishead is back with their first studio
+ album in 6 years. Third brings back the familiar and
+ the new, and none of this is best exemplified than in the track
+ Machine Gun. It seems that regardless of how Portishead
+ sounds now, the one thing that has stayed constant is their refusal to be ordinary.
+
+
+
+
+
+
+
+
+
+
+
Example 7: Mist Themed Combination of Various Inline Editors
+
+
+
Artist
+
Album
+
Year
+
Genre
+
Play Length
+
Label
+
Review 1
+
Review 2
+
+
+
+ Portishead
+
+
Third
+
2008
+
Triphop
+
49 min 13 s
+
Universal Music
+
+
+
+
After a hiatus, Portishead is back with their first studio
+ album in 6 years. Third brings back the familiar and
+ the new, and none of this is best exemplified than in the track
+ Machine Gun. It seems that regardless of how Portishead
+ sounds now, the one thing that has stayed constant is their refusal to be ordinary.
+
+
+
+
+
+
+
+
+
+
+
+
...It feels like a staggering transformation and a return to
+ form that was never lost, an ideal adaptation by a group that many
+ people didn't know they needed to hear again.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Example 8: HC Themed Combination of Various Inline Editors
+
+
+
Artist
+
Album
+
Year
+
Genre
+
Play Length
+
Label
+
Review 1
+
Review 2
+
+
+
+ Portishead
+
+
Third
+
2008
+
Triphop
+
49 min 13 s
+
Universal Music
+
+
+
+
After a hiatus, Portishead is back with their first studio
+ album in 6 years. Third brings back the familiar and
+ the new, and none of this is best exemplified than in the track
+ Machine Gun. It seems that regardless of how Portishead
+ sounds now, the one thing that has stayed constant is their refusal to be ordinary.
+
+
+
+
+
+
+
+
+
+
+
+
...It feels like a staggering transformation and a return to
+ form that was never lost, an ideal adaptation by a group that many
+ people didn't know they needed to hear again.
+
After a hiatus, Portishead is back with their first studio
+ album in 6 years. Third brings back the familiar and
+ the new, and none of this is best exemplified than in the track
+ Machine Gun. It seems that regardless of how Portishead
+ sounds now, the one thing that has stayed constant is their refusal to be ordinary.
+
+
+
+
+
+
+
+
Review 2
+
+
+
...It feels like a staggering transformation and a return to
+ form that was never lost, an ideal adaptation by a group that many
+ people didn't know they needed to hear again.
+