Allow text editors in the workspace center, but not in docks

This commit is contained in:
Jason Rudolph 2017-05-31 14:06:46 -04:00
parent 60c1b85ede
commit 61a52d49aa
No known key found for this signature in database
GPG Key ID: B760F197E561DF15

View File

@ -3627,6 +3627,9 @@ class TextEditor extends Model
})
@component.element
getAllowedLocations: ->
['center']
# Essential: Retrieves the greyed out placeholder of a mini editor.
#
# Returns a {String}.