Layout's exact file location are not exposed to plugins. `NewTabsWithLayout` only takes ready made layout data.
CraigglesO opened this issue · comments
地図の神様 commented
Currently, the API has a function NewTabsWithLayout
that requires a layout to be passed in. However, each session stores layouts as LayoutInfo
which gives the name but not the file location. The best case for me is to either add another function or update NewTabsWithLayout
to use the name and grab the layout information from the file for the plugin.
Aram Drevekenin commented
Implemented in #3305 - thanks for your feedback!
地図の神様 commented
You both exposed new_tabs_with_layout_info
AND layout_dir
really quickly. Wow sir you are awesome. TYSM.