blocknotes / activeadmin_trumbowyg Goto Github PK
View Code? Open in Web Editor NEWTrumbowyg Editor for ActiveAdmin
License: MIT License
Trumbowyg Editor for ActiveAdmin
License: MIT License
Ref: #26
It looks like that there are quite some changes in the latest versions.
Is there any reason the editor box needs a min-height of 300px? I know I can edit the CSS but it would be nice to have that configurable within activeadmin... something like
f.input :some_field, as: :trumbowyg, height: 160
Thanks so much for your cool gem. Although the instructions were very clear, I'm getting the following error:
SassC::SyntaxError at /admin/messages
Error: File to import not found or unreadable: activeadmin/trumbowyg/trumbowyg
on line 17 of app/assets/stylesheets/active_admin.scss
>> @import 'activeadmin/trumbowyg/trumbowyg';
Hello!
I'm having some issues with striked lines and lists.
I can't undo the effect of the striked line and lists do not appear correctly in the editor. I've added a screenshot as an example.
As you can see, most of the text is correctly rendered but the lists do not have bullets or numbers and the striked line doesn't revert by clicking again on the button, but it works if I use ctrl+z
I can't seem to get the SVG icons to show in Production.
Has anyone else encountered/ solved this issue?
Thank you!
git clone error while bundle install
Git error: command git clone 'https://github.com/blocknotes/activeadmin_trumbowyg' "/home/vagrant/.rvm/gems/ruby-2.4.2/cache/bundler/git/activeadmin_trumbowyg-496c7d51213ca40cb4a2c80545bc34189a509d05" --bare --no-hardlinks --quiet
in directory
also tried .git but still error.
Git error: command git clone '[email protected]:blocknotes/activeadmin_trumbowyg.git' "/home/vagrant/.rvm/gems/ruby-2.4.2/cache/bundler/git/activeadmin_trumbowyg-6eedea88abc41d5ccf8540a9520ea45d42ffd468" --bare --no-hardlinks --quiet
in directory
/vagrant_data/activeadmintest has failed.
can you paste this repo example app?
Hi,
It seems commit c146f3c introduced an issue.
In app/assets/stylesheets/activeadmin/_trumbowyg_input.sass, L12 and L13 have a semi-colon that shouldn't be there.
If I manage to have the time I'll do a PR.
Hi!!
I have been getting a random error when I have been trying to load the editor in my project. The error is that the editing tools are not displayed and any changes made to the text are not saved.
The following error message is displayed in the browser:
jQuery.Deferred exception: Cannot read property 'startContainer' of null TypeError: Cannot read property 'startContainer' of null
After doing some tests, I have detected that this error occurs when the text contains a tag of type <b>
.
I downgraded from version 0.2.12
to version 0.2.10
and now works properly.
I don't know if this is an isolated error in my project but I wanted to report it in case someone else could reproduce it ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.