Update pages.html
Browse files- pages.html +1 -25
pages.html
CHANGED
@@ -855,34 +855,10 @@ editor.Blocks.add('menu-settings-block-block', {
|
|
855 |
|
856 |
|
857 |
|
858 |
-
<script>
|
859 |
-
|
860 |
-
|
861 |
|
862 |
-
editor.BlockManager.add('custom-iframe', {
|
863 |
-
label: 'Custom Iframe',
|
864 |
-
content: `<iframe id="custom-iframe" frameborder="0" width="480" height="405" src="https://rutube.ru/play/embed/538dc9cc0b952dd52f47e28df7df5e81/" allow="clipboard-write; autoplay" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: relative; top: 0; margin: 0 auto; display: block;"></iframe>`,
|
865 |
-
attributes: {
|
866 |
-
class: 'fa fa-video-camera'
|
867 |
-
}
|
868 |
-
});
|
869 |
-
editor.CssComposer.addRules(`
|
870 |
-
#custom-iframe {
|
871 |
-
width: 480px;
|
872 |
-
height: 405px;
|
873 |
-
border: none;
|
874 |
-
margin: 0 auto;
|
875 |
-
position: relative;
|
876 |
-
top: 0;
|
877 |
-
display: block;
|
878 |
-
}
|
879 |
-
`);
|
880 |
|
881 |
|
882 |
-
|
883 |
-
|
884 |
-
</script>
|
885 |
-
|
886 |
<script>
|
887 |
|
888 |
|
|
|
855 |
|
856 |
|
857 |
|
|
|
|
|
|
|
858 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
859 |
|
860 |
|
861 |
+
|
|
|
|
|
|
|
862 |
<script>
|
863 |
|
864 |
|