This website requires JavaScript.
Explore
Help
Sign In
OpenSourceArk
/
Ghost
Watch
1
Star
0
Fork
0
You've already forked Ghost
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
5b70fc6b1c
Ghost
/
ghost
/
admin
/
mirage
/
models
/
snippet.js
4 lines
66 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Resolved ember-cli-mirage import deprecations refs https://github.com/TryGhost/Admin/pull/2209 - `miragejs` has been extracted to a framework-independent library, the re-exports of `miragejs` elements in `ember-cli-mirage` have been deprecated making our test logs very noisy - added `miragejs` as a top-level dependency - updated all relevant imports to pull from `miragejs` instead of `ember-cli-mirage`
2022-03-08 14:32:01 +03:00
import
{
Model
}
from
'miragejs'
;
Implemented first iteration of content snippets closes https://github.com/TryGhost/Team/issues/411 - adds "Create snippet" icon to the editor toolbar - uses the same link input component design for specifying snippet titles - snippets are loaded in the background when the editor is accessed - snippets are listed at the bottom of the card menus of the + and / menus - clicking a snippet inserts the snippet's contents in place of the current blank section
2020-10-15 20:03:18 +03:00
export
default
Model
.
extend
(
{
}
)
;
Reference in New Issue
Copy Permalink