Open spreadred opened 7 years ago
Nice instructions, although you don't actually need to use data-role
- it just needs to be a unique selector. For instance, you can use id selectors like #toolbar1
.
@andrews05 So set the toolbar ids like: id="toolbar1"
and then set toolbarSelectors like this: toolbarSelector: "#toolbar1"
?
This didn't work for me, I must be misunderstanding.
No that's right, it works for me just like that. Not sure why it wouldn't work for you...
On the 2.0dev branch of the code? or the older code base?
I'm on the older codebase but the 2.0 branch appears to work the same, just from looking at the code. There's no reference to 'data-role' besides the default value for toolbarSelector.
@kaptainkommie My PR that removes instructions like these from the README was recently merged in. Can you update the Getting Started wiki article instead? We should start pointing people to this wiki article.
Added instructions on how to properly initialize multiple editors on the same page. Proper initialization and usage resolves #117 #110 #31