mirror of
https://github.com/Kenshin/simpread.git
synced 2026-02-01 15:41:29 +00:00
Format source.
This commit is contained in:
parent
b6121a89a9
commit
e15434d867
@ -135,7 +135,7 @@ function controlbarRender() {
|
||||
</group>
|
||||
</group>
|
||||
<group className="lab">
|
||||
<Import uid={ "ccf253lu-wxq1-gm47-o9sv-yg38dxc5h9qv" } />
|
||||
<Import uid={ "ccf253lu-wxq1-gm47-o9sv-yg38dxc5h9qv" } site={ cur_site } />
|
||||
</group>
|
||||
</div>;
|
||||
ReactDOM.render( doms, $( ".custom .property" )[0] );
|
||||
@ -145,14 +145,12 @@ function controlbarRender() {
|
||||
* siteeditor Render
|
||||
*/
|
||||
function siteeditorRender( url, site, type ) {
|
||||
|
||||
$( "sr-opt-read" ).length > 0 &&
|
||||
$( ".custom .preview" ).empty();
|
||||
|
||||
cur_site = pr.Safesite( site, type, url );
|
||||
|
||||
const doms = <Editor site={ cur_site } state={ state } />;
|
||||
ReactDOM.render( doms, $( ".custom .preview" )[0] );
|
||||
console.log( "current site is ", cur_site )
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user