luceos Thank you so much for helping me with this problem, this solved part of the problem, but brings up some new problemsπ
, I've tested and added the following code into 'extend.php',
return [
(new Extend\Formatter)
->configure(function (\s9e\TextFormatter\Configurator $configurator) {
$configurator->HTMLElements->allowUnsafeElement('iframe');
}),
(new Extend\Formatter)
->configure(function (\s9e\TextFormatter\Configurator $configurator) {
$configurator->HTMLElements->allowElement('style');
}),
(new Extend\Formatter)
->configure(function (\s9e\TextFormatter\Configurator $configurator) {
$configurator->HTMLElements->allowElement('h1');
}),
(new Extend\Formatter)
->configure(function (\s9e\TextFormatter\Configurator $configurator) {
$configurator->HTMLElements->allowElement('h3');
}),
(new Extend\Formatter)
->configure(function (\s9e\TextFormatter\Configurator $configurator) {
$configurator->HTMLElements->allowElement('h5');
}),
(new Extend\Formatter)
->configure(function (\s9e\TextFormatter\Configurator $configurator) {
$configurator->HTMLElements->allowElement('i');
}),
, However, when I want to achieve the function like
<iframe id="games.iframe" name="000001" width="100%" height="600" frameborder="0" src="https://games.aurorum.co/online/000001/index.html" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true"></iframe>
, it actually just recognized <iframe>, but none of the following part (id="games.iframe" name="000001" width="100%" height="600" frameborder="0" src="https://games.aurorum.co/online/000001/index.html" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true")was recognized, an example is shown on https://dl.aurorum.co/d/26-test-5π