Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Jun 16 12:56
    2klm commented #1579
  • Jun 16 11:44
    2klm commented #1579
  • Jun 16 09:54
    2klm opened #1579
  • Jun 16 09:05
    derakhshanfar commented #1464
  • Jun 09 18:45
    akewalr opened #1578
  • May 27 09:20
    AndrewPixel opened #1577
  • May 19 17:11
    rajatmadaan786 edited #1576
  • May 19 17:10
    rajatmadaan786 opened #1576
  • May 19 11:02
    rajatmadaan786 closed #1575
  • May 19 11:01
    rajatmadaan786 commented #1575
  • May 19 03:37
    mikehroth edited #1574
  • May 19 03:37
    mikehroth edited #1574
  • May 19 03:36
    mikehroth edited #1574
  • May 18 14:47
    rajatmadaan786 opened #1575
  • May 18 04:05
    mikehroth edited #1574
  • May 18 04:05
    mikehroth opened #1574
  • May 13 09:54
    roniemartinez closed #1523
  • May 02 12:46
    roniemartinez removed as member
  • Apr 09 15:13
    marcelotedeschi opened #1573
  • Mar 29 07:30
    j0k3r commented #1564
Nate Mielnik
I believe either of those should work, if all your trying to do is add some extra code to the removeFormat button
Sarven Capadisli
@nmielnik Yes, ignoring would be helpful.. At first I thought adding contenteditable=false would help with that
@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!