Questions tagged [trumbowyg]

Trumbowyg is a lightweight jQuery plugin used to transform a textarea into a HTML Editor.

52 questions
6
votes
0 answers

trumbowyg emoji implementation

I have some trouble with trumbowyg emoji plugin. The dropdown emoji is display but not the emoji icon list, (only the text content as :smile: for…
5
votes
1 answer

Trumbowyg: Django server can detect file upload but not image URL input

I'm using Trumbowyg, a WYSIWYG JavaScript editor which has a feature of rendering images from URLs pasted in. It also has an upload plugin which enables uploading local images and custom server side handling. My python/django function…
Zorgan
  • 8,227
  • 23
  • 106
  • 207
3
votes
3 answers

Adding new line in Trumbowyg editor

I use Trumbowyg editor (https://github.com/Alex-D/Trumbowyg) and I've wanted to override behavior of Enter (which I've already done). I've wanted also to make Ctrl+Enter key combination to add a newline to the editor (like it is binded for plain…
lukaszkups
  • 5,790
  • 9
  • 47
  • 85
3
votes
1 answer

Inject or Initialize Vue components in generated HTML

I use a an WYSIWYG article editor that generates some HTML for articles that I save in the database and later show to the user. The problem is I need to insert Vue components into this auto generated HTML for showing dynamic products. I can make a…
nilsi
  • 10,351
  • 10
  • 67
  • 79
3
votes
1 answer

Trumbowyg lightweight rich editor svg icons not showing up

I was wondering if anyone has dealt with this plugin: http://alex-d.github.io/Trumbowyg/ I believe I'm doing everything right. The only thing is that svg icons are not showing up? $('#trumbowyg-demo').trumbowyg({ svgPath: 'my-path-to-icons'…
hellomello
  • 8,219
  • 39
  • 151
  • 297
3
votes
1 answer

wordpress deletes on save comment

I'm trying to implement an WYSIWYG editor to my WP comment section. I experience many difficulties with saving the HTML data in the WordPress database. WP strips many of the HTML tags automatically. I was able to restore the tags trough the…
2
votes
1 answer

In the Trumbowyg editor, what's the difference between the built in undo/redo and the History plugin?

I've read the doc and tried the demo, but I can't tell the difference between the built in undo/redo and the History plugin. The default buttons are: ['undo', 'redo'], The plugin buttons are: ['historyUndo','historyRedo'],
awilkinson
  • 1,601
  • 15
  • 23
2
votes
1 answer

Trumbowyg: How to put text using Jquery .html() or .text()

How to put retrieved text into Trumbowyg Textarea. I want to edit saved content using Trumbowyg. I have getting some text from database using Jquery Ajax. I am trying to put text using .html() and .text() function, but not working. I am trying to…
sarbudeen
  • 171
  • 2
  • 10
2
votes
1 answer

panel with buttons doesn't appear on trumbowyg plugin

I'm using a plugin for javascript to have an HTML Editor (WYSIWYG), called Trumbowyg. no errors appear when instantiating an creating elementes with this plugin, but for some reason that I want to discover, the panel with the buttons/options doesn't…
Calvin Nunes
  • 6,376
  • 4
  • 20
  • 48
2
votes
1 answer

How to add underline button into trumbow editor?

I tried to add underline button into editor but not work. This is code for the trumbowyg editor: https://jsfiddle.net/rbyjgpjg/ /* =========================================================== * trumbowyg.cleanpaste.js v1.0 * Font Clean paste…
2
votes
2 answers

Trumboqyg WYSIWYG editor does not work with Jquery.Validate plugin, "Uncaught TypeError: Cannot read property 'nodeName' of undefined"

I have been pulling my hair out trying to figure this out. I am running jquery 2.2.2 at the moment with the jquery validation plugin. https://jqueryvalidation.org/ And Trumbowyg WYSIWYG Editor. https://alex-d.github.io/Trumbowyg/ It's great mostly…
Chris James Champeau
  • 984
  • 2
  • 16
  • 37
1
vote
1 answer

Active Admin Trumbowyg @import not found error in Rails app

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: SassC::SyntaxError at /admin/messages/new Error: File to import…
1
vote
2 answers

Trumbowyg: Insert text at caret not working

I have a button and when clicking on it I want to add some text inside the Editor. I saw some issues where people gave the solution and I tried it. But when I use restoreRange and execCmd with insertHTML, it does not insert at the caret, only if…
Kane
  • 375
  • 1
  • 6
  • 18
1
vote
0 answers

active admin editor is not uploading form successfully

ActiveAdmin Trumbowyg is not working properly. I have added upload option using it and uploaded file as per code give here. It successfuly uploads the file, but it is not inserted inside text area. form do |f | f.inputs do f.input: title …
1
vote
3 answers

Allow only HTTPS URL in input field

I am using Trumbowyg, a WYSIWYG JavaScript editor which allows rendering images by pasting a URL. So you paste the URL in the field and then click the Confirm button and then it appends the image in the editor (you can test it out here) I want to…
Zorgan
  • 8,227
  • 23
  • 106
  • 207
1
2 3 4