mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
fix double insertion of widgets button in home page editor
This commit is contained in:
parent
49b3a54afb
commit
8d8c9a8af5
@ -138,7 +138,7 @@ Application.Controllers.controller('SettingsController', ['$scope', '$rootScope'
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Extend the options for summernote editor, with special tools for home page
|
// Extend the options for summernote editor, with special tools for home page
|
||||||
$scope.summernoteOptsHomePage = Object.assign({}, $rootScope.summernoteOpts);
|
$scope.summernoteOptsHomePage = angular.copy($rootScope.summernoteOpts);
|
||||||
$scope.summernoteOptsHomePage.toolbar[5][1].push('nugget'); // toolbar -> insert -> nugget
|
$scope.summernoteOptsHomePage.toolbar[5][1].push('nugget'); // toolbar -> insert -> nugget
|
||||||
$scope.summernoteOptsHomePage.nugget = {
|
$scope.summernoteOptsHomePage.nugget = {
|
||||||
label: '\uF12E',
|
label: '\uF12E',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user