fix: disable editor rendering in history previews
This commit is contained in:
@@ -16,13 +16,15 @@
|
|||||||
a.sk-a.info.close-button(
|
a.sk-a.info.close-button(
|
||||||
ng-click="ctrl.dismiss(); $event.stopPropagation()"
|
ng-click="ctrl.dismiss(); $event.stopPropagation()"
|
||||||
) Close
|
) Close
|
||||||
.sk-panel-content.selectable(ng-if="!ctrl.editor")
|
.sk-panel-content.selectable
|
||||||
.sk-h2 {{ctrl.content.title}}
|
.sk-h2 {{ctrl.content.title}}
|
||||||
p.normal.sk-p(
|
p.normal.sk-p(
|
||||||
style="white-space: pre-wrap; font-size: 16px;"
|
style="white-space: pre-wrap; font-size: 16px;"
|
||||||
) {{ctrl.content.text}}
|
) {{ctrl.content.text}}
|
||||||
component-view.component-view(
|
//- FIXME(baptiste): Component preview doesn't work
|
||||||
component-uuid="ctrl.editor.uuid"
|
//-
|
||||||
ng-if="ctrl.editor",
|
//- component-view.component-view(
|
||||||
application='ctrl.application'
|
//- component-uuid="ctrl.editor.uuid"
|
||||||
)
|
//- ng-if="ctrl.editor",
|
||||||
|
//- application='ctrl.application'
|
||||||
|
//- )
|
||||||
|
|||||||
Reference in New Issue
Block a user