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'm having trouble targeting the default p tags inside a Block. They are marked as span and as far as I can tell, based on the docs, I should be targeting those correctly. I'm obviously missing something though
The data:
"description": [
{
"_key": "0b71cdcbcc5a",
"_type": "block",
"children": [
{
"_key": "259de42897910",
"_type": "span",
"marks": [],
"text": "Some text to see if it works"
}
],
"markDefs": [],
"style": "normal"
}
]
The components (ended up trying whatever I could think of):
@rexxars I think it would help a lot to make the documentation a bit more clear in the github README file because I am sure it is a great library but just difficult to use it with the different elements. I have spend a lot of time figuring out how it works, and browsing closed pull requests.
A lot more people would use it if the documentation was more clear.
I'm having trouble targeting the default p tags inside a Block. They are marked as span and as far as I can tell, based on the docs, I should be targeting those correctly. I'm obviously missing something though
The data:
The components (ended up trying whatever I could think of):
Any ideas on where I'm going wrong here? It works just fine for Lists n stuff just somehow not the span / p tags
The only kinda alternative I found so far is using
toPlainText
which works but kinda curious if there is another wayThe text was updated successfully, but these errors were encountered: