(v: any, innerText: string)
| 44 | } |
| 45 | |
| 46 | function equalText(v: any, innerText: string) { |
| 47 | // TODO: enhance compare text logic |
| 48 | if (typeof v !== 'string') { |
| 49 | return false; |
| 50 | } |
| 51 | return v.trim() === innerText; |
| 52 | } |
| 53 | |
| 54 | export const liveEditingSaveHander: SaveHandler = { |
| 55 | condition: (prop) => { |
no outgoing calls
no test coverage detected
searching dependent graphs…