diff --git a/README.md b/README.md index 323f98e7d..0161a5a57 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The easiest way to start with Trix is including it from an npm CDN in the ` … - + ``` diff --git a/action_text-trix/app/assets/javascripts/trix.js b/action_text-trix/app/assets/javascripts/trix.js index df6e1d783..40335562c 100644 --- a/action_text-trix/app/assets/javascripts/trix.js +++ b/action_text-trix/app/assets/javascripts/trix.js @@ -1060,7 +1060,6 @@ $\ }; const insertStyleElementForTagName = function (tagName) { const element = document.createElement("style"); - element.setAttribute("type", "text/css"); element.setAttribute("data-tag-name", tagName.toLowerCase()); const nonce = getCSPNonce(); if (nonce) { diff --git a/assets/index.html b/assets/index.html index 65e97b39b..6fe96471e 100644 --- a/assets/index.html +++ b/assets/index.html @@ -6,8 +6,8 @@ - - diff --git a/src/test/test_helpers/fixtures/editor_with_bold_styles.js b/src/test/test_helpers/fixtures/editor_with_bold_styles.js index fd9ce008f..2940e02ed 100644 --- a/src/test/test_helpers/fixtures/editor_with_bold_styles.js +++ b/src/test/test_helpers/fixtures/editor_with_bold_styles.js @@ -1,5 +1,5 @@ export default () => - `