Skip to main content

Default Expand "Create Post"

Hi, if you want to auto expand the editor on page load try adding this to your Custom JavaScript area in Portal Settings:

<script>
  function openPostEditor() {
    const placeholder = document.querySelector('.form_placeholder');
    if (placeholder) {
      placeholder.click(); // Simulate click to open the post editor
    }
  }

  // Try on initial load
  window.addEventListener('load', () => {
    // Run once after load
    setTimeout(openPostEditor, 300);
  });

  // Also handle switching between "spaces"
  const observer = new MutationObserver(() => {
    openPostEditor();
  });

  observer.observe(document.body, {
    childList: true,
    subtree: true,
  });
</script>

Sophia S

Just curious, what exactly is this achieving?

J V

Sophia SΒ I think it removes the step to click into 'what's happening' to start writing a post.

Sophia S

J VΒ doesn't make sense still

J V

Sophia SΒ Well I'm sure some people will disagree. πŸ˜‰

Deckard Cain

Hey Sophia SΒ β€” using this tool helps me share and create posts quickly. It makes things more efficient. I'm using it to take private notes on my network. I want to be able to visit the website, type what I need to, paste from clipboard, and then press CTRL + Enter to save it. This way, I can get back to what I was doing without wasting time.

If you try to make a lot of posts or take many notes in one day, it can really add up and save you a lot of time in the long run.