ponkotsu-md-editor 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 328af3706fa69fbde074dac8d6274111940914db868da9287448a3a7d03befe4
4
- data.tar.gz: 5cfd3e1437308bc2ce6309ef309ff806a06ca34d627595ce0421c338835e9847
3
+ metadata.gz: 8540f941f4071279f7c34f8606851e0484091f06bb80906479fb77fd4cad1ae4
4
+ data.tar.gz: 8283eb3a04d8e796f8adbfdb1a612d003d27411d86df01ea9c54a554f709d2ca
5
5
  SHA512:
6
- metadata.gz: b9ed774b904a3ac622ffa058ae91d9fdb18fb1c0af6eeb4f5d5c0c745a37a61845350b706dad8fe9944c7f7b0a309b349cd192f672ec095114fc682876fc3806
7
- data.tar.gz: c2f6c928a63bc0eb6a63f5fc6655b0f52a5ce85358e1eb0bc8ae6da4f24a7918aa809a5544e3ed43b39471459dc89b9d000e601f052197db03af0a5677bb7373
6
+ metadata.gz: 60d9b19589474cd9684c46e13a41da1fb9bae85117106869da0ae36c2e91b1b41efb014433df0072ef755390fbf8f99db2274823dc0fe4f8de3cf729a776a8b0
7
+ data.tar.gz: d6b2a52bef1c922d59893efea54b660f962cdd54f9e5b8f924ee421fb08f4dda1bca76e36125ff586897f7671a05a4de64b3f0c14a5c6274a195e266412bef32
@@ -59,8 +59,8 @@
59
59
  %>
60
60
 
61
61
  <div class="markdown-editor">
62
- <%= render "toolbar", options: _options %>
63
- <%= render "input_area", form: form, options: _options %>
62
+ <%= render "ponkotsu_md_editor/toolbar", options: _options %>
63
+ <%= render "ponkotsu_md_editor/input_area", form: form, options: _options %>
64
64
  </div>
65
65
  <div class="form-text medium-contrast-text">
66
66
  <strong><%= case _options[:lang]
@@ -15,5 +15,13 @@ module PonkotsuMdEditor
15
15
  include PonkotsuMdEditor::Helpers
16
16
  end
17
17
  end
18
+
19
+ # Configure asset paths for the engine
20
+ # This ensures that JavaScript and CSS files are properly loaded
21
+ initializer "ponkotsu_md_editor.assets" do |app|
22
+ if app.config.respond_to?(:assets)
23
+ app.config.assets.precompile += %w[markdown_editor.js markdown_editor.css]
24
+ end
25
+ end
18
26
  end
19
27
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PonkotsuMdEditor
4
- VERSION = "0.1.7"
4
+ VERSION = "0.1.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ponkotsu-md-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - dhq_boiler