Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 96d33cb

Browse files
feat: install last inline-editor
Signed-off-by: peterpeterparker <[email protected]>
1 parent 438693a commit 96d33cb

File tree

4 files changed

+27
-17
lines changed

4 files changed

+27
-17
lines changed

studio/package-lock.json

Lines changed: 20 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

studio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@deckdeckgo/deck-utils": "^1.0.0",
2323
"@deckdeckgo/drag-resize-rotate": "^1.0.0",
2424
"@deckdeckgo/highlight-code": "^1.0.2",
25-
"@deckdeckgo/inline-editor": "^1.0.0",
25+
"@deckdeckgo/inline-editor": "^1.1.0",
2626
"@deckdeckgo/lazy-img": "^1.0.0",
2727
"@deckdeckgo/qrcode": "^1.0.0",
2828
"@deckdeckgo/remote": "^1.1.0",

studio/src/app/pages/editor/app-editor/app-editor.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ app-editor {
4545
deckgo-inline-editor {
4646
--deckgo-inline-editor-sticky-zindex: 10;
4747

48-
--deckgo-inline-editor-mobile-background-top: var(--ion-color-primary);
49-
--deckgo-inline-editor-mobile-background-bottom: var(--ion-color-primary);
50-
--deckgo-inline-editor-button-mobile-color: white;
51-
--deckgo-inline-editor-button-mobile-color-active: var(--ion-color-warning);
52-
--deckgo-inline-editor-button-mobile-color-disabled: var(--ion-color-primary-tint);
53-
5448
ion-icon[slot="link"] {
5549
padding-top: 12px;
5650
font-size: 1.2rem;

studio/src/app/pages/editor/app-editor/app-editor.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import {FontsService} from '../../../services/editor/fonts/fonts.service';
4444

4545
@Component({
4646
tag: 'app-editor',
47-
styleUrl: 'app-editor.scss'
47+
styleUrl: 'app-editor.scss',
4848
})
4949
export class AppEditor {
5050
@Element() el: HTMLElement;
@@ -392,7 +392,7 @@ export class AppEditor {
392392

393393
const modal: HTMLIonModalElement = await modalController.create({
394394
component: 'app-publish',
395-
cssClass: 'fullscreen'
395+
cssClass: 'fullscreen',
396396
});
397397

398398
modal.onDidDismiss().then(async (_detail: OverlayEventDetail) => {
@@ -589,7 +589,7 @@ export class AppEditor {
589589
async signIn() {
590590
this.navService.navigate({
591591
url: '/signin' + (window && window.location ? window.location.pathname : ''),
592-
direction: NavDirection.FORWARD
592+
direction: NavDirection.FORWARD,
593593
});
594594
}
595595

@@ -708,8 +708,9 @@ export class AppEditor {
708708
sticky-mobile="true"
709709
onStickyToolbarActivated={($event: CustomEvent) => this.stickyToolbarActivated($event)}
710710
img-anchor="deckgo-lazy-img"
711-
list={false}></deckgo-inline-editor>,
712-
<app-inactivity fullscreen={this.fullscreen} onMouseInactivity={($event: CustomEvent) => this.inactivity($event)}></app-inactivity>
711+
list={false}
712+
align={false}></deckgo-inline-editor>,
713+
<app-inactivity fullscreen={this.fullscreen} onMouseInactivity={($event: CustomEvent) => this.inactivity($event)}></app-inactivity>,
713714
];
714715
}
715716

0 commit comments

Comments
 (0)