Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jpuri/draftjs-to-html
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: 23/draftjs-to-html
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Jun 6, 2019

  1. Replace ins tag with u tag

    Vasil Dimitrov committed Jun 6, 2019
    Copy the full SHA
    139ac1e View commit details

Commits on Feb 18, 2021

  1. Copy the full SHA
    7b18d88 View commit details
Showing with 4 additions and 3 deletions.
  1. +1 −0 .npmrc
  2. +1 −1 js/block.js
  3. +1 −1 lib/draftjs-to-html.js
  4. +1 −1 yarn.lock
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@23:registry=https://npm.pkg.github.com
2 changes: 1 addition & 1 deletion js/block.js
Original file line number Diff line number Diff line change
@@ -248,7 +248,7 @@ export function addInlineStyleMarkup(style: string, content: string): string {
} else if (style === 'ITALIC') {
return `<em>${content}</em>`;
} else if (style === 'UNDERLINE') {
return `<ins>${content}</ins>`;
return `<u>${content}</u>`;
} else if (style === 'STRIKETHROUGH') {
return `<del>${content}</del>`;
} else if (style === 'CODE') {
2 changes: 1 addition & 1 deletion lib/draftjs-to-html.js
Original file line number Diff line number Diff line change
@@ -273,7 +273,7 @@ function addInlineStyleMarkup(style, content) {
} else if (style === 'ITALIC') {
return '<em>' + content + '</em>';
} else if (style === 'UNDERLINE') {
return '<ins>' + content + '</ins>';
return '<u>' + content + '</u>';
} else if (style === 'STRIKETHROUGH') {
return '<del>' + content + '</del>';
} else if (style === 'CODE') {
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
@@ -4800,7 +4800,7 @@ sinon@^4.1.4:
supports-color "^4.4.0"
type-detect "^4.0.5"

size-limit@0.14.1:
size-limit@^0.14.1:
version "0.14.1"
resolved "https://registry.yarnpkg.com/size-limit/-/size-limit-0.14.1.tgz#579b4657f394437ab6addd2b9da1afe566bcd7bf"
dependencies: