Comments (11)
Hey @nickdima: The generated output looks good here: https://jpuri.github.io/react-draft-wysiwyg/#/demo.
What is exactly issue you are facing ?
from draftjs-to-html.
Oh I see its issue cos of this parameter: allowFullScreen
I will remove it soon.
Thanks for reporting.
from draftjs-to-html.
The problem is not in the editor but when you convert the article to html with draftjs-to-html
from draftjs-to-html.
Yep I saw its issue in generated html.
from draftjs-to-html.
Any idea on how to fix this?
from draftjs-to-html.
Hey @nickdima : Sorry for the delay, I am doing some fixes in editor today I will try to fix this also. You should have a new release of draftjs-to-html
with fix by tomorrow.
from draftjs-to-html.
Hi @nickdima : [email protected]
should fix the issue.
from draftjs-to-html.
Thanks @jpuri but unfortunately that fix doesn't solve the issue. The content still gets cut bellow the iframe.
I'l try to explain better what's happening.
So in my react-draft-wysiwyg
editor I have this article that contains a paragraph, an iframe embed and then another paragraph. But when I load this article with draftjs-to-html
it has only the first paragraph and the iframe. So any content following the iframe it doesn't get converted.
Check the attached screenshots:
Editor:
HTML (check the div container bellow and you'll see the last paragraph missing)
from draftjs-to-html.
Oh ok, looks like I did not correctly understood it before - I will look into it again now.
from draftjs-to-html.
Thanks @jpuri !
from draftjs-to-html.
I submitted a PR that fixes this: #14
from draftjs-to-html.
Related Issues (20)
- customEntityTransform is not applied if entity is within bullet list HOT 2
- Code-block gets removed when HTML is generated HOT 2
- Change default target option HOT 1
- draftToHtml function bydefault inline styling add in span tag!
- image tag src,height and width are undefined after conversion
- CustomEntityTransform does not work properly
- differences between code and code-block HOT 3
- Images
- converting custom inlineStyle besides color and fontSize HOT 1
- method getStyleTagSectionMarkup(styleSection) calls addInlineStyleMarkup incorrectly
- Insert in whitespaces HOT 3
- Please add allowFullScreen attribute
- Using two Bullet point lists do not render correctly HOT 7
- support for latex.
- draftToHtml crashes with empty line from state
- Adding a new line in the editor HOT 5
- convert to html missing code-block in blockTypesMapping
- Not all inline styles are getting converted
- Unnecessary new line \n character HOT 4
- Typescript support? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from draftjs-to-html.