mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
4a987bfc15
closes #2910 - create EditorController, PostSettingsMenuController - remove `posts.post` controllerName dependency on EditorRoute/NewRoute - `{{render}}` the PostSettingsMenuView with its own controller - break up properties/methods from PostsPostController into all three controllers - fix EditorRoute pagination options to now be comparable to PostsRoute - add NewController to force NewRoute to refresh editor with blank model. Identical to Editor's - EditorController and NewController are based on a shared mixin - NewView created, templateName is 'editor'
7 lines
No EOL
185 B
JavaScript
7 lines
No EOL
185 B
JavaScript
var EditorView = Ember.View.extend({
|
|
tagName: 'section',
|
|
classNames: ['entry-container'],
|
|
scrollPosition: 0 // percentage of scroll position
|
|
});
|
|
|
|
export default EditorView; |