Terminal Commands

plugin-idea

#1

I may make a plugin for this if possible but i wanted to see if anyone has gotten a terminal window from within the inkdrop interface.

here is an example of a terminal within an atom app:

most of the code is there i just dont know if inkdrop can have new windows.

thanks


#2

Hi,

Thank you for the question.
I’m happy to help you make a plugin!
Yes, you can add a component at the bottom of the editor like so:

inkdrop.components.registerClass(YOUR_REACT_COMPONENT)
const editorLayout = inkdrop.layouts.getLayout('editor') // -> ['EditorTitleBar', 'EditorMetaForm', 'MDEContainer', 'EditorSearchBox']
editorLayout.push('YOUR_REACT_COMPONENT')
inkdrop.layouts.defineLayout('editor', editorLayout)

Hope it’s helpful.


#3

Related topic: