You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to modify the paragraph tool to add text alignment. I need to do the same for the image tool. Can someone supply some code similar to what was posted in this issue? editor-js/paragraph#22
Or is it possible to just include the image in the above code? I see there's a reference to an image:
* Tool's classes
*/
imageHolder: 'utd-image__picture',
caption: 'utd-image__caption',
link: 'utd-image__link',
}
if so, where would that be, here?
/*Method that specified how to merge two Text blocks.
Called by Editor.js by backspace at the beginning of the Block
@param {ParagraphData} data
@public
*/
merge(data) {
let newData = {
text: this.data.text + data.text,
class: this.data.class,
}
this.data = newData
The text was updated successfully, but these errors were encountered:
I was able to modify the paragraph tool to add text alignment. I need to do the same for the image tool. Can someone supply some code similar to what was posted in this issue? editor-js/paragraph#22
Or is it possible to just include the image in the above code? I see there's a reference to an image:
The text was updated successfully, but these errors were encountered: