Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do I insert smart variables with a text editor?

Taylor Cooney asked in Rails

I would really appreciate some insight to how you could let a user select from pre-definied variables in a dropdown and insert them into a text area; some people have mentioned saving a liquid and re-rending as a liquid template. I've seen this done numerous times, but this is the cleaniest implementation (https://i.imgur.com/QVCVfYs.pnghttp://)

I believe there is an easier way to implement this. Let me know if you have any experience with something like this.

Reply

Bump!

Reply

Still looking for some insight here!

Reply

Sorry to spam but still looking for some insight here. I've tried looking up across the web but having trouble finding anything related to the idea.

Reply

TTT

Reply

same :D

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.