Merge pull request #2287 from dpalou/MOBILE-3345
MOBILE-3345 rte: Use h3-h4-h5 instead of h1-h2-h3main
commit
64db477223
|
@ -41,21 +41,21 @@
|
||||||
<core-icon name="fa-paragraph"></core-icon>
|
<core-icon name="fa-paragraph"></core-icon>
|
||||||
</button>
|
</button>
|
||||||
</ion-slide>
|
</ion-slide>
|
||||||
<ion-slide>
|
|
||||||
<button [disabled]="!rteEnabled" [attr.aria-pressed]="toolbarStyles.h1" (click)="buttonAction($event, 'formatBlock|<h1>')" (mousedown)="stopBubble($event)">
|
|
||||||
<core-icon name="fa-header"></core-icon>1
|
|
||||||
</button>
|
|
||||||
</ion-slide>
|
|
||||||
<ion-slide>
|
|
||||||
<button [disabled]="!rteEnabled" [attr.aria-pressed]="toolbarStyles.h2" (click)="buttonAction($event, 'formatBlock|<h2>')" (mousedown)="stopBubble($event)">
|
|
||||||
<core-icon name="fa-header"></core-icon>2
|
|
||||||
</button>
|
|
||||||
</ion-slide>
|
|
||||||
<ion-slide>
|
<ion-slide>
|
||||||
<button [disabled]="!rteEnabled" [attr.aria-pressed]="toolbarStyles.h3" (click)="buttonAction($event, 'formatBlock|<h3>')" (mousedown)="stopBubble($event)">
|
<button [disabled]="!rteEnabled" [attr.aria-pressed]="toolbarStyles.h3" (click)="buttonAction($event, 'formatBlock|<h3>')" (mousedown)="stopBubble($event)">
|
||||||
<core-icon name="fa-header"></core-icon>3
|
<core-icon name="fa-header"></core-icon>3
|
||||||
</button>
|
</button>
|
||||||
</ion-slide>
|
</ion-slide>
|
||||||
|
<ion-slide>
|
||||||
|
<button [disabled]="!rteEnabled" [attr.aria-pressed]="toolbarStyles.h4" (click)="buttonAction($event, 'formatBlock|<h4>')" (mousedown)="stopBubble($event)">
|
||||||
|
<core-icon name="fa-header"></core-icon>4
|
||||||
|
</button>
|
||||||
|
</ion-slide>
|
||||||
|
<ion-slide>
|
||||||
|
<button [disabled]="!rteEnabled" [attr.aria-pressed]="toolbarStyles.h5" (click)="buttonAction($event, 'formatBlock|<h5>')" (mousedown)="stopBubble($event)">
|
||||||
|
<core-icon name="fa-header"></core-icon>5
|
||||||
|
</button>
|
||||||
|
</ion-slide>
|
||||||
<ion-slide>
|
<ion-slide>
|
||||||
<button [disabled]="!rteEnabled" [attr.aria-pressed]="toolbarStyles.ul" (click)="buttonAction($event, 'insertUnorderedList')" (mousedown)="stopBubble($event)">
|
<button [disabled]="!rteEnabled" [attr.aria-pressed]="toolbarStyles.ul" (click)="buttonAction($event, 'insertUnorderedList')" (mousedown)="stopBubble($event)">
|
||||||
<core-icon name="fa-list-ul"></core-icon>
|
<core-icon name="fa-list-ul"></core-icon>
|
||||||
|
|
|
@ -88,9 +88,9 @@ export class CoreEditorRichTextEditorComponent implements AfterContentInit, OnDe
|
||||||
u: 'false',
|
u: 'false',
|
||||||
strike: 'false',
|
strike: 'false',
|
||||||
p: 'false',
|
p: 'false',
|
||||||
h1: 'false',
|
|
||||||
h2: 'false',
|
|
||||||
h3: 'false',
|
h3: 'false',
|
||||||
|
h4: 'false',
|
||||||
|
h5: 'false',
|
||||||
ul: 'false',
|
ul: 'false',
|
||||||
ol: 'false',
|
ol: 'false',
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue