Neil Roberts

Results 6 comments of Neil Roberts

My notes reading through the code and tests. The function is used when a widget is created within a parent widget's source. * `baseCss`: The embedded widget's CSS * `css`:...

# Widget Authoring Many widgets embed imported widgets in their returned vdom. Often, changes must be made to the styling of these embedded widgets both to support its placement within...

This is due to [this code](https://github.com/ianstormtaylor/slate/blob/master/packages/slate/src/transforms/node.ts#L317) in `mergeNodes` which has the comment: > "If the target node that we're merging with is empty, remove it instead of merging the two....

To provide even more information, the code I referenced above removes the _lowest empty block_ you're deleting into. What this means is that as long as you have paragraphs within...

This could be helpful for the dgrid editing functionality where there is a set of properties that should be used across all instances - things like length, style, etc. -...

That's fine, I was just outlining a use case.