Questions tagged [medium-editor]

medium-editor is a WYSIWYG rich text editor for browsers

MediumEditor is a clone of medium.com inline editor toolbar.

It has been written using vanilla JavaScript, no additional frameworks required.

62 questions
32
votes
4 answers

Gist is not showing completely in Medium

When I try to embed gist in Medium it shows only the first 11 lines of the gist while code is longer inside gist. How can be this fixed?
NewTech Lover
  • 1,185
  • 4
  • 20
  • 44
18
votes
4 answers

How to use links in Medium Editor?

I've been trying out the excellent Medium Editor. The problem that I've been having is that I can't seem to get links to "work". At the simplest, here's some HTML/JS to use to demonstrate the problem: HTML:
mgilson
  • 300,191
  • 65
  • 633
  • 696
8
votes
0 answers

HTML/JS Rich Text Editor Pagination

I'm looking on how to implement pagination/page breaks with page formats (A4, letter, etc.) using a rich text editor (like the Medium Editor). The font family, font size, line height, margins are going to be fixed, as this is a very specific case…
MindRave
  • 148
  • 2
  • 10
7
votes
1 answer

Embedding Stackblitz Editor on Medium

I wrote this article and I'm attempting to embed the corresponding Stackblitz example. I click on share and select preview only and then paste the link into…
Ole
  • 41,793
  • 59
  • 191
  • 359
4
votes
1 answer

JSFiddle won't show result first on medium embed

I am trying to embed a JSFiddle element in a medium post with the result showing first like this: https://blog.mapbox.com/3d-features-in-mapbox-gl-js-e94734f12110 When I post the URL (with the correct embed url fromat …
4
votes
2 answers

How do you replace the selection in medium-editor once it's lost?

I am trying to add an extension that replaces the existing link functionality in medium editor to allow me to have a filelist and other custom bits. The problem is that once I show modal and you make some change in it the original selection is…
urbanpanda
  • 55
  • 5
3
votes
1 answer

How to increase height of textarea in npm medium-editor?

Even after defining row height a single line textarea appears.
Atul
  • 75
  • 10
3
votes
1 answer

MaxLength/characters for input in medium-editor

I am using medium-editor. The code to initialize medium-editor class is given as var editor = new MediumEditor(el, { placeholder: false, toolbar: false }) and I am using following method to bind medium-editor for my…
2
votes
1 answer

enable editing in Medium Editor

I want to use Medium Editor for inline editing. On one page it's working. However on another page I want the editor to be disabled at the beginning, as the text is normally only for reading. It's disabled with disableEditing: true when initializing…
user7809313
2
votes
1 answer

prevent child element to be editable in mediumEditor.js

How to prevent editing child element by medium-editor whereas parent element is editable. Example:
This text should be editable This text should not be editable.