jsoneditor icon indicating copy to clipboard operation
jsoneditor copied to clipboard

Allow access to the Ace editor instance

Open davidjenkins opened this issue 5 years ago • 3 comments

Please add the aceEditor property to the documentation and the @types so we can make small adjustments like controlling the minLines and maxLines settings?

Technically there is nothing preventing access. The property doesn't exist in the TypeScript declarations but that is easy to work around. But this change would just make things official and then it is unlikely that the property will become private or be renamed in the future.

davidjenkins avatar Dec 26 '20 19:12 davidjenkins

Makes sense, thanks for your suggestion.

Anyone able to write the needed docs and @types? Help would be welcome.

josdejong avatar Dec 30 '20 10:12 josdejong

Hey, 5 months after, has this been implemented? I have a problem that this awesome component always opens up with 9-11 lines.... Using the React wrapper.

giladbr avatar May 07 '21 09:05 giladbr

No one has picked it up yet. Help is very welcome.

josdejong avatar May 07 '21 20:05 josdejong