We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
проблема в events/OnBeforeShowEditorBlocks.php
для каждого блока с картинкой надо описывать правило
if ($block['name'] == 'complex_image_text') { if (isset($block['image'])) { $block['image']['file'] = Sprint\Editor\Tools\Image::resizeImage2( $block['image']['file']['ID'], [ 'width' => ImageAdminBlock::PREVIEW_WIDTH, 'height' => ImageAdminBlock::PREVIEW_HEIGHT, 'exact' => ImageAdminBlock::PREVIEW_EXACT, ] ); } }
что создаёт проблему в комплексных блоках, для каждого из которых надо создавать новое правило
автор Ирина Кулыгина @design_lat
The text was updated successfully, but these errors were encountered:
No branches or pull requests
проблема в
events/OnBeforeShowEditorBlocks.php
для каждого блока с картинкой надо описывать правило
что создаёт проблему в комплексных блоках, для каждого из которых надо создавать новое правило
автор Ирина Кулыгина @design_lat
The text was updated successfully, but these errors were encountered: