MCPcopy
hub / github.com/GrapesJS/grapesjs / revert

Function revert

packages/core/src/utils/ColorPicker.ts:731–733  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

729 }
730
731 function revert() {
732 set(colorOnShow, true);
733 }
734
735 function set(color, ignoreFormatChange) {
736 if (tinycolor.equals(color, get())) {

Callers 2

initializeFunction · 0.85
clickoutFunction · 0.85

Calls 1

setFunction · 0.70

Tested by

no test coverage detected