Conversation
Add `src` to the path for HTMLUtils
|
Great, I will try it soon. |
In this example : <img src="http://placehold.it/1500x1500" style="width:125px;height:125px;" width=125 height=125 /> ALL width and height styling will be ignored.
…pdate This is very important, especially if you need to update your rendering after it’s been displayed, or simply if you want to use hot reloading.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features
getClosestNodeParentByTagto the available utils functionstextSelectableprop (thanks @hyb175 !)<s>(thanks @hyb175 !)Bugfixes
imagesMaxWidth#83 as well as many other related issuesinheritstyles won't crash the rendering anymore, fixes "inherit" styles should be removed or ignored during numeric conversion #87Improvements
ignoredStylesprop will now also remove styling passed directly through HTML attributes, see i used imagesMaxWidth but some of my images can't get windows width #86Miscellaneous
lodash.isequaldependency