mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
48defc4000
closes https://github.com/TryGhost/Team/issues/3387 - adds syncing of mobiledoc->lexical formats for snippets when opening the beta editor - this is a one-way sync - new snippets or changes made to snippets inside the beta will not be available in the old editor - creating or changing snippets in the old editor will sync to (and potentially overwrite snippets) in the beta editor - fixed incorrect saving of doubly-escaped JSON when creating snippets in the beta editor
9 lines
250 B
JavaScript
9 lines
250 B
JavaScript
import ApplicationSerializer from 'ghost-admin/serializers/application';
|
|
|
|
export default class PostSerializer extends ApplicationSerializer {
|
|
attrs = {
|
|
createdAtUTC: {key: 'created_at'},
|
|
updatedAtUTC: {key: 'updated_at'}
|
|
};
|
|
}
|