Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Jul 29 11:20
    gaffling opened #1593
  • Jul 06 09:20
    tothanhdat commented #1572
  • Jul 06 09:19
    tothanhdat commented #1572
  • Jul 06 08:57
    tothanhdat commented #1572
  • Jul 01 09:18
    mauricekindermann commented #1543
  • Jun 30 23:55
    mauricekindermann commented #1543
  • Jun 30 23:53
    mauricekindermann commented #1543
  • May 21 09:06
    Babatunde50 commented #1503
  • May 07 19:31
    DragonEarin opened #1592
  • May 01 23:13
    lucychen0103 commented #1585
  • May 01 23:13
    lucychen0103 closed #1591
  • May 01 23:13
    lucychen0103 commented #1591
  • May 01 23:11
    lucychen0103 commented #1585
  • May 01 23:08
    lucychen0103 opened #1591
  • Apr 29 01:12
    Patrick386 commented #1503
  • Apr 26 09:48
    jira-zz opened #1590
  • Apr 25 06:20
    Liberatys commented #1503
  • Mar 22 11:01
    rluetke commented #1222
  • Mar 21 12:03
    rluetke commented #1360
  • Mar 21 11:51
    rluetke commented #1222
@nmielnik, thanks, i've extended removeFormat button constructor passing object with key 'handleClick' into edtiorInstance.toolbar.buttons
button looks like
const removeFormat = {
            name: 'removeFormat',
            aria: 'remove formatting',
            action: 'removeFormat',
            contentDefault: '<b>X</b>',
            contentFA: '<i class="fa fa-eraser"></i>',
            handleClick: function (event) {

                    // Undo default

                    // Undo selection for all custom extension
                    const extensions = this.base.extensions;
                    const extensionsCustomOnly = this.base.options.extensions;

                    for (const key in extensions) {
                        const extension = extensions[key];
                        if (typeof extension.setInactive !== 'function') {    
                        if (typeof extension.classApplier !== 'object') {
                        console.log(`undo ${extension.name}`);

Editor defaults

Is there is an option, to apply some actions initially to Editor? For example i want that all my text will be initially bold (do not propose use css on editor.)
Felix Tang
hi guys
i want to have a static toolbar as well as inline toolbar
is it possible to do that?
Arsalan Khalid
Anyone familiar with how to approach sizing the whole editor, getting it into a form rather than the full page, the way it is now
just trying to start off with trying to figure out how to resize it, anyone able to redirect me towards something?
Felix Tang
channel is dead :(
Ayaz Uddin
Hey everyone, is there a way to create code blocks into the medium-editor?
@Ayaz2589 I'm interested in helping maintain
Jérémy Benoist
@sloan-dog You should ping @nmielnik instead
Sarven Capadisli

@sloan-dog @j0k3r @nmielnik FWIW: in the https://github.com/linkeddata/dokieli project, we use medium-editor.. but considering to switch to something else because of lack of dev activity in ME. Don't take this as criticism :) I decided to use ME awhile back because it hit the right boxes for dokieli's needs - also ME dev was quite active at the time. There are however some important issues IMHO - don't we all? - that makes it hard to work with or extend ME. From dokieli's POV, we just want to reuse an existing library as much as possible.. and the core of it need to be quite stable. We're not in the "business" of developing our own editor so counting on what the smart/hardworking folks are doing out there. I still think ME is great but it may be aging.. so if it gets picked up again, that'd be great. I don't know if there are fundamental shortcomings of the ME architecture that would make it more reasonable for a rewrite or whatever - this is something you folks know better. FYI recent discussion re the switch starts here: https://gitter.im/linkeddata/dokieli?at=5cb0caffbd70a40d5f3bd5ef . Note:

We need to factor in: regular WYSIWYG-like editing [..], collaborative-editing, versioning-friendly?, extensible for different forms of annotations (like RDFa embedding, Web Annotation..), active dev community

Happy to give further feedback. IIRC, I've already logged issues we've faced in ME GitHub issues and in dokieli's issues (search for ME or editor perhaps if of interest)
Jérémy Benoist
Thanks for the kind words @csarven I think a lot of projects are using ME but we (@nmielnik and me) are no longer available to keep the project updated. I personnaly don't use it anymore in my current job and don't have enough spare time to maintain it during my free time.
Nate Mielnik
thanks @csarven ! That all makes sense to me, my shortcoming was not trying harder to recruit & hand off the project years ago (I've actually done a talk about this exact topic). I'm not sure what the chances are of someone being willing to pick it up....but if no one does I can definitely empathize with not wanting to rely on it.
Carlos Guerrero
Hello @nmielnik happy to help over here!
I am working on a "github-integrated" editor called qinab.com that uses mediun-editor heavily, so since I am getting to know all the code anyway, happy to help with the project as well. @nmielnik
Shreyan Mehta
hello , I have worked on custom context-menus like this , i would be happy to help to contribute and maintain this repo
Hi I work as a Full stack developer most of my experience are in java script, I would be happy to help
Hi, would love to help in this amazing WYSIWYG library please do let me know how and what to help =D
I'm interested a contributor to the project :)
Zhu Liang
hey @nmielnik , i'm interested in helping to maintain the project. i built a small feature for ME before and helped with answering issues, if you still remember. and i really admire what you guys have achieved so far, so i don't want to see all the efforts go abandoned.
Bechir Ahmed
Hey @nmielnik , thanks for your huge effort, i use this amazing WYSIWYG editor in my personal projects and i'm interested in helping to maintain it
Nate Mielnik
@Jasonseah @wiredmartian @paradite @BechirAhmed apologies, my gitter notifications got screwed up
Hi guys, I will help with this
Jiue-Ren Liao (Rick)
Hi, everyone
I am seeking an easy tool to write medium articles, any suggestion?
Stefan Pejcic
Hello everyone, the unofficial WordPress version can be found on: https://github.com/PluginsBay/Medium-Editor and soon on wp.org
Anyone that uses WordPress nad wants to help/contribute is welcome.
@nmielnik I'd also like to get involved in maintaining/collaborating
Nate Mielnik
Awesome @stefanpejcic i'll add you to the repo now
Stefan Pejcic
thanks @nmielnik great to be here

Hey, I'm trying to get Medium to work with a runat="server" div.

<div class="editable" id="myDiv" runat="server">Information</div>

Then my back end.

var html = myDiv.InnerHtml

yet html always results in an empty string. If I remove the editable class html returns Information as expected. Does anyone have experience with getting the innerhtml from a medium editor?


Seems like using a textarea instead of a div works.

<textarea class="editable" id="myTextArea" runat="server">Information</div>

It seems Medium creates a div and hides the textarea and auto updates the hidden textarea when the text within the div is changed.

Then the contents can be grabbed in the backend like myTextArea.Value

Dove Chen
I have some problem when use the medium
When i want to limit the text input
But i can't use well
Can give me some advises
Ivo Valchev

hi everyone :-)

I'm using a single medium-editor element on the page (with Vue2-medium-editor)
is there a way to "redirect" any keypress to that component? thus, by typing without selecting it first, it types in it

Brajesh Yadav
is there any medium editor , we can use with angular 8 for my travel portal
Abdul Matin
I always got the toolbar static to the bottom of the root component, In ReactJS. Here is the codesandbox where I reproduced the problem.
Hi, I'm new but surely would like to help.
Philip Metzger
Hey, anyone here?
Trying to get this working in NextJS but cant. any examples?
Adebayo Ijidakinro
Hey, I’m about to starting using this, but I have one question. How do I get the formatted content, I’m going to need to save this formatted text and then store it in a database. How do I get the formatted text?
Mark Kanning
Howdy!! Anyone know how to deactivate a toolbar button from another toolbar button? I presume it'll have something to do with firing setInactive() on the target button...but I don't know HOW to grab a target button from within another buttons click handler. Thanks!
hello. Is there still a need for developers for medium-editor?
1 reply
Gaël Duval
Hello ! I'm looking for the best way to add custom CSS classes to the p, blockquote, h1 and h2 injected by medium-editor. Any advice ? Can't find anything on the doc