Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow a DOM constructor function to be passed to placeholder
FEATURE: `placeholder` now allows a function that constructs the placedholder DOM to be passed in, and uses `cloneNode` when a raw element is passed in, to prevent adding the same element to multiple editors. Closes codemirror/dev#1395
- Loading branch information