Reorder popup fontStyles buttons.

This commit is contained in:
T. H. Wright 2019-11-13 11:48:42 -05:00
parent 5a1391c979
commit eab25ce9ca

View File

@ -42,20 +42,6 @@ api.addToolbarPopupMenuOptionsCallback(() => {
label: "strikethrough_button" label: "strikethrough_button"
}; };
}); });
api.addToolbarPopupMenuOptionsCallback(() => {
return {
action: "floatleft",
icon: "indent",
label: "float_left_button"
};
});
api.addToolbarPopupMenuOptionsCallback(() => {
return {
action: "columns",
icon: "columns",
label: "columns_button"
};
});
api.addToolbarPopupMenuOptionsCallback(() => { api.addToolbarPopupMenuOptionsCallback(() => {
return { return {
action: "superscript", action: "superscript",
@ -70,6 +56,20 @@ api.addToolbarPopupMenuOptionsCallback(() => {
label: "subscript_button" label: "subscript_button"
}; };
}); });
api.addToolbarPopupMenuOptionsCallback(() => {
return {
action: "floatleft",
icon: "indent",
label: "float_left_button"
};
});
api.addToolbarPopupMenuOptionsCallback(() => {
return {
action: "columns",
icon: "columns",
label: "columns_button"
};
});
api.modifyClass("controller:composer", { api.modifyClass("controller:composer", {
actions: { actions: {