-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
We can create a file called config/initializers/action_text.rb and fill it with some custom contents for allowable things. Let's say for example we wanted to add table editing. We'd need to add , , , and .In addition, we may also want to add some additional attributes which we could also do here say perhaps target for links. # config/initializers/action_text.rb # Add table tags ActionText::ContentHelper.allowed_tags += ["table", "tr", "td", "th", "thead", "tbody"] # Add link attributes ActionText::ContentHelper.allowed_attributes += ["rel", "target"] Enter fullscreen mode Exit fullscreen mode , , You can also see an example from @excid3 's latest ActionText episode: https://github.com/gorails-screencasts/modify-actiontext-html-output/blob/master/config/initializers/action_text.rb https://gorails.com/episodes/modify-and-customize-actiontext-html-output?autoplay=1 If you're feeling real wild, you could even replace the sanitizer and scrubber with your own custom sanitizer / scrubber!
Related posts
-
Create a fantastic GitHub developer portfolio with next js.
-
Debugging in Ruby with pry-byebug
-
HrrRbSsh: Pure Ruby SSH 2.0 server and client implementation
-
A collection of different tools to analyze your Ruby test suite performance
-
Basic painting with Ruby: implementing a flood-fill algorithm with DragonRuby GTK