effective_learndash 0.2.1 → 0.3.0

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: 076d625d658223be135f56e74dc7f7c6e6e077688f2ed38a51f7ac4eb88b1233
4
- data.tar.gz: 94849221f3f64496dcff99ee3f8a313d3143a809c750ca62edcceabbb204b68d
3
+ metadata.gz: 6f337241059d2a7d32983718e5ad460f451009b0bb8c9e51729bf58f3f438333
4
+ data.tar.gz: 5af7710c6db4713c0977ed19b07a317fd29241ba04fd2f4239559951eddeb526
5
5
  SHA512:
6
- metadata.gz: f1a22b8cedfb1eb29584a114373991dfc1acab6b544326ccb24456d7b9078e535d449d828d25ce6390a5e69b3f78c725eef08e8e3f6689da2269f79073f0da93
7
- data.tar.gz: 47841e76f2d3d4a7185e44b8a49ff3eccb186f3229eb9472715770ce4f6355dae60a684e2f455feb6da35167513aee669ddd97b2d40a0b52a58d2feb21a003b6
6
+ metadata.gz: 99c1c6294f0a21f59db73c8fa40ff8ecc257c4987ae9852f77e30037dfb2861a81fffc3dfb902719146f41ca39cbed4bbdd978a590419364122807eef5bfd560
7
+ data.tar.gz: 678c28868f9770627929b5e566761cf16b1427042bbf548976c5bd24a4b9317ee59b16b6bd61e1d4f071bfe26bde27d25a50ea476433ddde858b28ab58204595
@@ -2,8 +2,10 @@
2
2
 
3
3
  = effective_form_with(model: [:admin, learndash_course], engine: true) do |f|
4
4
  = card("All Steps") do
5
- = f.rich_text_area "rich_text_all_steps_content", label: false,
6
- hint: "displayed on all steps"
5
+ - if defined?(EffectiveArticleEditor)
6
+ = f.article_editor "rich_text_all_steps_content", label: false, hint: "displayed on all steps"
7
+ - else
8
+ = f.rich_text_area "rich_text_all_steps_content", label: false, hint: "displayed on all steps"
7
9
 
8
10
  %hr
9
11
 
@@ -13,7 +15,9 @@
13
15
  - next unless enabled.include?(step)
14
16
 
15
17
  = card("#{title}") do
16
- = f.rich_text_area "rich_text_#{step}_content", label: false,
17
- hint: "displayed on the course purchase wizard #{step} wizard step only"
18
+ - if defined?(EffectiveArticleEditor)
19
+ = f.article_editor "rich_text_#{step}_content", label: false, hint: "displayed on the course purchase wizard #{step} wizard step only"
20
+ - else
21
+ = f.rich_text_area "rich_text_#{step}_content", label: false, hint: "displayed on the course purchase wizard #{step} wizard step only"
18
22
 
19
23
  = f.submit
@@ -1,3 +1,3 @@
1
1
  module EffectiveLearndash
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.3.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_learndash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-28 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails