activeadmin_trumbowyg | Trumbowyg Editor for ActiveAdmin | Application Framework library
kandi X-RAY | activeadmin_trumbowyg Summary
kandi X-RAY | activeadmin_trumbowyg Summary
Trumbowyg Editor for ActiveAdmin
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Strip HTML .
- function to render a gif
- handle CSS background color
- Build the button
- Unwraps code inside code block
- Replace valid tags with valid tags .
- Change font size
- Build highlighted options .
- Build the dropdown .
- Thttle function
activeadmin_trumbowyg Key Features
activeadmin_trumbowyg Examples and Code Snippets
Community Discussions
Trending Discussions on activeadmin_trumbowyg
QUESTION
I'm trying to add the Trumbowyg WYSIWYG editor to a rails app using Active admin using this gem.
The instructions seem clear, but I'm getting the following error for the scss import:
...ANSWER
Answered 2020-Sep-16 at 18:54You have most probably missed importing Active Admin JS files in the app/assets/javascripts/active_admin.js file. As it mentions on the gem's page that you have linked. Just add these lines to the above file-
//= require activeadmin/trumbowyg/trumbowyg //= require activeadmin/trumbowyg_input
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install activeadmin_trumbowyg
After installing Active Admin, add to your Gemfile: gem 'activeadmin_trumbowyg' (and execute bundle)
Add at the end of your Active Admin styles (app/assets/stylesheets/active_admin.scss):
Add at the end of your Active Admin javascripts (app/assets/javascripts/active_admin.js):
Use the input with as: :trumbowyg in Active Admin model conf
To fix icons in production environment execute the task: rails trumbowyg:nondigest
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page