Questions tagged [hallo-js]

Simple rich text editor (contentEditable) for jQuery UI

It is a web writing tool, available to be included into any web application under the liberal MIT open source license.

See hallojs.org for more details.

19 questions
6
votes
2 answers

Is there a wiki that works with Aloha editor (or hallo-js)?

I have a dokuwiki wiki set up on my server, and I would love to be able to edit the wiki with inline editing, a la Aloha Editor or Hallo Editor. On the Aloha editor home page they mention that you could use it for wikis in passing, but there are no…
fivestones
  • 99
  • 1
  • 10
4
votes
2 answers

How do i customize hallo.js to use instead of ?

The question pretty much says it all. Im using hallo.js and it seems to use and for bold and italic. Some of my markup currently requires strong and em in order to have certain CSS rules apply. I also prefer strong and em in general to b and…
prodigitalson
  • 58,127
  • 8
  • 92
  • 110
3
votes
1 answer

Wagtail / Hallo.js - Adding plugins but modified content is not saved

I'm running on Wagtail 1.3.1, Django 1.7.11. I have activated hallohtml and hallojustify plugins and they appear in toolbar (without icons but buttons are here). The buttons can be used and the modifications are seen in the textarea (I mean that I…
F Labbé
  • 122
  • 8
2
votes
1 answer

Wagtail: How to override HTML tag output from database. Use or instead of or for richtext template tag

I am trying to have my wagtail template output instead of and instead of . I manually edited the content_json values within the wagtailcore_pagerevision table records so that the tags are and…
robnardo
  • 891
  • 11
  • 26
2
votes
1 answer

createjs fixed/floating hallo editor

I am trying to achieve the same effect that is seen in this example of the hallo editor, and here is a screenshot: Basically I would rather have the editor appear above the current content that is being edited than at the top of the page. Is this…
Mike
  • 11,085
  • 15
  • 55
  • 82
1
vote
0 answers

wrap/unwrap last selected text with tag onclick

Im using wagtail and i have added a button to the richtext editor that adds 'pre' tag to selected text once the button is clicked, but im struggling to create the code to unwrap the text. Similar to what Joss has done here:…
JaredOzzy
  • 123
  • 1
  • 1
  • 12
1
vote
1 answer

How to add custom class in wagtail richtextfiled

how can i add button which adds class in hallo.js editor? Here is my code, but it dont works, it ony register fuction in wagtai;s edit interface. In the end I need to add any class to selection or current tag. Mb I can see it in html in someway and…
Mihail
  • 63
  • 2
  • 11
1
vote
1 answer

how to limit allowed formatting options in hallo.js rich text editor

I want to limit the formatting options for the wagtail.wagtailcore.fields.RichTextField field. For example, how to limit the user so that he can only use bold, paragraph and links in the RichTextField. I found examples for extending the editor, but…
yvess
  • 1,694
  • 16
  • 15
1
vote
2 answers

Wagtail - Change image tags/format in Rich Text Editor

I'm using wagtail without its templates (I built an API using rest-framework). I would like to change the format of the images in the rich text editor For example this is my RichText field right now:

test test test


Rani
  • 4,269
  • 1
  • 18
  • 26
0
votes
0 answers

Understanding hallo-image plugin

I'm working to extend the wagtailembedvideos adding the properly hallo.js plugin: https://github.com/SalahAdDin/wagtail-embedvideos I have this embed-video-chooser.js: function createEmbedVideoChooser(id) { var chooserElement = $('#' + id +…
SalahAdDin
  • 1,432
  • 14
  • 42
0
votes
0 answers

Wrong with hallo.js

Uncaught TypeError: jQuery(...)[plugin] is not a function jQuery(document).ready( function() { jQuery('.editable').hallo({ plugins: { 'halloformat': {}, 'halloblock': {}, 'hallojustify': {}, …
Mr.He
  • 1
0
votes
0 answers

how to set image size in Hallo.js Markdown?

I am using hallo.js (Git) for markdown editor. I would like to set image width and height. I already reference How to change image size markdown?. it is not work in hallo.js as below. Example ![](image URL =100x20) ![](image URL |width=100)
Zaw Than oo
  • 8,714
  • 11
  • 64
  • 116
0
votes
1 answer

Apply HalloJS to elements created after initialization

I recently replaced Aloha editor with HalloJS in my CMS for several reasons, the most important of which are HalloJS being more leightweight and a lot easier to customize. A severe problem I have however run into is that it doesn't seem possible to…
0
votes
1 answer

jQuery UI Dialog Position Fixed Center

I'm trying to display the dialog in modal mode at the center of the page with position fixed, but I'm not able to get it to work properly. As a workaround, I currently set position: "top" so at least it's stuck to the top of the viewport. When I…
juminoz
  • 3,240
  • 7
  • 32
  • 48
0
votes
1 answer

Images Symfony CMF create.js

I have installed Symfony CMF and everything works fine, but not like in cmf.liip.ch In cmf.liip.ch when I try to add image it can be uploaded, but in my application createjs does not allow me with this option ? So everything is by default in my…
FortuneSoldier
  • 491
  • 3
  • 19
1
2