Source

wikdNode / part / _JoinAndReplaceFirst.groovy

The branch 'default' does not exist.
Full commit
1
2
3
4
5
6
def mark = ui.showInputDialog(
	node.delegate, 'Enter characters to join nodes and replace first node on...', '')
c.selecteds.first().text = c.selecteds.tail().collect {
	it.plainText.trim()
}.join(mark ? mark : '')
c.selecteds.tail().each { it.delete() }