From a37b90881dc6566281fd711b6c22f3dadecce9d5 Mon Sep 17 00:00:00 2001 From: Javan Makhmali Date: Tue, 2 Oct 2018 13:32:06 -0400 Subject: [PATCH] =?UTF-8?q?active=20=E2=86=92=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/action_text/attachment.rb | 2 +- test/dummy/app/javascript/packs/application.js | 2 +- test/dummy/package.json | 2 +- test/dummy/yarn.lock | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/action_text/attachment.rb b/lib/action_text/attachment.rb index 2129a3985b..a0e0c2f396 100644 --- a/lib/action_text/attachment.rb +++ b/lib/action_text/attachment.rb @@ -2,7 +2,7 @@ module ActionText class Attachment include Attachments::TrixConversion, Attachments::Minification, Attachments::Caching - TAG_NAME = "active-text-attachment" + TAG_NAME = "action-text-attachment" SELECTOR = TAG_NAME ATTRIBUTES = %w( sgid content-type url href filename filesize width height previewable caption ) diff --git a/test/dummy/app/javascript/packs/application.js b/test/dummy/app/javascript/packs/application.js index f12ff2fdc3..90eb1a1841 100644 --- a/test/dummy/app/javascript/packs/application.js +++ b/test/dummy/app/javascript/packs/application.js @@ -1 +1 @@ -import "activetext" +import "actiontext" diff --git a/test/dummy/package.json b/test/dummy/package.json index 59fdfb8a60..ff2b802bba 100644 --- a/test/dummy/package.json +++ b/test/dummy/package.json @@ -3,7 +3,7 @@ "private": true, "dependencies": { "@rails/webpacker": "^3.2.2", - "activetext": "file:../.." + "actiontext": "file:../.." }, "devDependencies": { "webpack-dev-server": "^2.11.1" diff --git a/test/dummy/yarn.lock b/test/dummy/yarn.lock index af299bfcf8..40444165f0 100644 --- a/test/dummy/yarn.lock +++ b/test/dummy/yarn.lock @@ -60,7 +60,7 @@ acorn@^5.0.0: version "5.2.0-rc1" resolved "https://registry.yarnpkg.com/activestorage/-/activestorage-5.2.0-rc1.tgz#79898996eceb0f13575eff41fb109051fbfa49b0" -"activetext@file:../..": +"actiontext@file:../..": version "0.1" dependencies: activestorage ">= 5.2.0-rc1"