mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
a30e4c325b
Resolves a TODO related to the paste target div. VisualEditor.php * Added link to ve.Surface.css ve.Surface.js * Cleaned up initialization of .ve-surface element * Removed float clearing div (see ve.Surface.css) * Removed paste div (moved to ve.ce.Surface) ve.Surface.css * Added rule which adds an ":after" element to handle clearing floats ve.ce.Surface.js * Cleaned up initialization of DOM elements * Added paste target div * Replaced paste element selectors with direct references to this.$pasteTarget ve.ce.Surface.css * Changed paste div styles to use a namespaced class instead of a generic ID demos/ve/index.php * Added link to ve.Surface.css Change-Id: Ib93d45ac82ae643fc8e659f5a063c02a8ddacdde
16 lines
283 B
CSS
16 lines
283 B
CSS
/*!
|
|
* VisualEditor Surface styles.
|
|
*
|
|
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-surface:after {
|
|
content: ".";
|
|
display: block;
|
|
clear: both;
|
|
visibility: hidden;
|
|
line-height: 0;
|
|
height: 0;
|
|
}
|