MOBILE-2338 rte: Add list styles
parent
518d1091ee
commit
097737a3f3
|
@ -154,6 +154,7 @@ export class AddonModDataEditPage {
|
||||||
|
|
||||||
return this.dataProvider.getFields(this.data.id);
|
return this.dataProvider.getFields(this.data.id);
|
||||||
}).then((fieldsData) => {
|
}).then((fieldsData) => {
|
||||||
|
this.fieldsArray = fieldsData;
|
||||||
this.fields = this.utils.arrayToObject(fieldsData, 'id');
|
this.fields = this.utils.arrayToObject(fieldsData, 'id');
|
||||||
|
|
||||||
return this.dataHelper.getEntry(this.data, this.entryId, this.offlineActions);
|
return this.dataHelper.getEntry(this.data, this.entryId, this.offlineActions);
|
||||||
|
|
|
@ -300,14 +300,25 @@ core-format-text, *[core-format-text] {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix lists styles in core-format-text.
|
// Fix lists styles in core-format-text.
|
||||||
ul, ol {
|
|
||||||
-webkit-padding-start: 40px;
|
|
||||||
}
|
|
||||||
ul {
|
ul {
|
||||||
list-style: disc;
|
list-style-type: disc;
|
||||||
}
|
}
|
||||||
ol {
|
ol {
|
||||||
list-style: decimal;
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
ul, ol {
|
||||||
|
-webkit-padding-start: 15px;
|
||||||
|
list-style-position: inside;
|
||||||
|
ul {
|
||||||
|
list-style-type: circle;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style-type: lower-latin;
|
||||||
|
}
|
||||||
|
ul, ol {
|
||||||
|
list-style-position: inside;
|
||||||
|
margin-left: 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge {
|
.badge {
|
||||||
|
|
|
@ -38,6 +38,28 @@ core-rich-text-editor {
|
||||||
color: $gray-light;
|
color: $gray-light;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style-type: disc;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
ul, ol {
|
||||||
|
-webkit-padding-start: 15px;
|
||||||
|
list-style-position: inside;
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style-type: circle;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style-type: lower-latin;
|
||||||
|
}
|
||||||
|
ul, ol {
|
||||||
|
list-style-position: inside;
|
||||||
|
margin-left: 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.core-textarea textarea {
|
.core-textarea textarea {
|
||||||
|
|
Loading…
Reference in New Issue