We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c85472a commit 01b16b8Copy full SHA for 01b16b8
lib/open_project/text_formatting/formats/markdown/helper.rb
@@ -38,17 +38,6 @@ def initialize(view_context)
38
end
39
40
def wikitoolbar_for(field_id, **context)
41
- # Hide the original textarea
42
- view_context.content_for(:additional_js_dom_ready) do
43
- js = <<-JAVASCRIPT
44
- var field = document.getElementById('#{field_id}');
45
- field.style.display = 'none';
46
- field.removeAttribute('required');
47
- JAVASCRIPT
48
-
49
- js.html_safe
50
- end
51
52
# Pass an optional resource to the CKEditor instance
53
resource = context.fetch(:resource, {})
54
helpers.angular_component_tag "opce-ckeditor-augmented-textarea",
0 commit comments