MCPcopy Create free account
hub / github.com/editablejs/editable / changeStyle

Function changeStyle

packages/plugins/image/src/components/image.tsx:218–220  ·  view source on GitHub ↗
(style: ImageStyle)

Source from the content-addressed store, hash-verified

216 }
217
218 const changeStyle = (style: ImageStyle) => {
219 editor.setStyleImage(style, element)
220 }
221
222 const changeRotate = (rotate: number) => {
223 if (Math.abs(rotate) === 360) {

Callers 1

image.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…