File size: 389 Bytes
da2088a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function customPageManager(editor) {
	const panelManager = editor.Panels;

	var pages = {
		current: 1,
		pages: [
			{ components: [], style: [] },
		]
	}

	// Adding new button
	panelManager.addButton('views', [{
		id: 'manage-pages',
		className: 'gjs-pn-btn',
		command: '',
		active: false,
		label: `<span uk-icon="list" uk-tooltip="title: Manage Pages; pos: right"></span>`
	}]);

}