Provide option to open the demo page in new tab.

This commit is contained in:
2022-10-11 10:31:38 +03:00
parent 0ec37c4c5b
commit 29a75a6e26
10 changed files with 85 additions and 15 deletions
+1 -1
View File
@@ -11370,7 +11370,7 @@ function Publish(props = {}) {
function setupPublish(rootAttributes) {
// INIT
const wrapper = document.createElement('div');
document.querySelector('.page_toolbar__right').prepend(wrapper);
document.querySelector('.page_toolbar__right').append(wrapper);
const root = createRoot(wrapper);
const html = /*#__PURE__*/React.createElement(Publish, {
rootAttributes: rootAttributes
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
y="0px"
viewBox="0 0 330 330" style="enable-background:new 0 0 330 330;" xml:space="preserve">
<path id="XMLID_225_" d="M325.607,79.393c-5.857-5.857-15.355-5.858-21.213,0.001l-139.39,139.393L25.607,79.393
c-5.857-5.857-15.355-5.858-21.213,0.001c-5.858,5.858-5.858,15.355,0,21.213l150.004,150c2.813,2.813,6.628,4.393,10.606,4.393
s7.794-1.581,10.606-4.394l149.996-150C331.465,94.749,331.465,85.251,325.607,79.393z"/>
</svg>

After

Width:  |  Height:  |  Size: 553 B