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