Debian Codegraph @

closure-library/closure/goog/editor/defines.js

raw
1 // Copyright 2008 The Closure Library Authors. All Rights Reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS-IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 /**
16 * @fileoverview Text editor constants for compile time feature selection.
17 *
18 */
19
20 goog.provide('goog.editor.defines');
21
22
23 /**
24 * @define {boolean} Use contentEditable in FF.
25 * There are a number of known bugs when the only content in your field is
26 * inline (e.g. just text, no block elements):
27 * -indent is a noop and then DOMSubtreeModified events stop firing until
28 * the structure of the DOM is changed (e.g. make something bold).
29 * -inserting lists inserts just a NBSP, no list!
30 * Once those two are fixed, we should have one client guinea pig it and put
31 * it through a QA run. If we can file the bugs with Mozilla, there's a chance
32 * they'll fix them for a dot release of Firefox 3.
33 */
34 goog.define('goog.editor.defines.USE_CONTENTEDITABLE_IN_FIREFOX_3', false);