Remove pencil icon from GrapeJS image toolbar, #195

This commit is contained in:
witzig 2017-04-07 23:12:01 +02:00
parent 04e1b015b9
commit bc669c1e05

View file

@ -49,6 +49,9 @@
/* Hide the fullscreen button - doesn't work from within our iFrame */ /* Hide the fullscreen button - doesn't work from within our iFrame */
#gjs-pn-options .gjs-pn-btn.fa.fa-arrows-alt { display: none !important; } #gjs-pn-options .gjs-pn-btn.fa.fa-arrows-alt { display: none !important; }
/* Hide pencil icon on image toolbar, issue #195 */
.gjs-toolbar > div > div.fa-pencil { display: none; }
</style> </style>
@ -257,12 +260,6 @@
} }
}); });
cmdm.add('tlb-edit', {
run: function(ed) {
alert('No image editor installed');
},
});
// Add Merge Tag Reference command // Add Merge Tag Reference command
var mergeTagReferenceContainer = document.getElementById('merge-tag-reference-container'); var mergeTagReferenceContainer = document.getElementById('merge-tag-reference-container');
cmdm.add('open-merge-tag-reference', { cmdm.add('open-merge-tag-reference', {