mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Put $input (textarea) in the same place where cursor is (so it can follow its position nicely)
This commit is contained in:
parent
165ef639bd
commit
ffdf68c50b
|
@ -23,7 +23,7 @@ es.SurfaceView = function( $container, model ) {
|
|||
.addClass( 'es-surfaceView' )
|
||||
.append( this.documentView.$ );
|
||||
this.$input = $( '<textarea class="es-surfaceView-textarea" />' )
|
||||
.prependTo( this.$ );
|
||||
.appendTo( 'body' );
|
||||
this.$cursor = $( '<div class="es-surfaceView-cursor"></div>' )
|
||||
.appendTo( 'body' );
|
||||
this.updateSelectionTimeout = undefined;
|
||||
|
|
Loading…
Reference in a new issue