Creating new tab / switching between Tabs in Firefox?

前端 未结 8 735
感动是毒
感动是毒 2021-01-16 08:14

I am looking for a way to improve the workflow in a PHP based CMS. There is a lot of switching between the editor mode and the preview mode of the page. The editor mode is h

相关标签:
8条回答
  • 2021-01-16 08:57

    You say you don't want to use an iframe to avoid confusion. Now I don't know about the layout of your website, but I've been using the approach that the editor opens in its own div right next to the content being edited and the content is being live updated as you edit. No need to change tabs.

    (If the window is too narrow there are HTML tabs Edit and Preview)

    It does not seem to add confusion to the user and for me this approach works really well. Maybe it's worth considering in your case.

    0 讨论(0)
  • 2021-01-16 09:00

    This question made me wonder if HTML 5 allows that sort of specification, and it doesn't (nothing in one of the other hyperlink attributes, either). A new browsing context is a new browsing context, there's no way to express a preference for tab over window or foreground over background.

    0 讨论(0)
提交回复
热议问题