Skip to content
This repository was archived by the owner on Jul 25, 2018. It is now read-only.
This repository was archived by the owner on Jul 25, 2018. It is now read-only.

developing config api #11

@BerkeleyTrue

Description

@BerkeleyTrue

Hello All,

We are going to be making heavy use of react-code-mirror over at freecodecamp.com/https://github.com/FreeCodeCamp/freecodecamp and would love to help move this project.

One thing that is missing is setting config options, such as setSize, setOption and setting operations on events.

I am opening up this issue to see if we can get some dialog about possible api options. I will be hacking up some options for us at freecodecamp so we can start using them immediately.

One possible idea would be for a separate config prop that takes an object and with properties such as `{setSize: [] } and then loop over the properties and calling them over the editor object. This is a simplistic way of doing things and will need some work still.

Let me know what yall think

cc @QuincyLarson @terakilobyte

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions