Skip to content

Commit

Permalink
PLANET-7521: Remove Media block (#1236)
Browse files Browse the repository at this point in the history
- Media block was removed
  • Loading branch information
mardelnet authored Sep 5, 2024
1 parent 47b77a5 commit 7b63b70
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 585 deletions.
66 changes: 0 additions & 66 deletions assets/src/blocks/Media/MediaBlock.js

This file was deleted.

150 changes: 0 additions & 150 deletions assets/src/blocks/Media/MediaEditor.js

This file was deleted.

17 changes: 0 additions & 17 deletions assets/src/blocks/Media/MediaElementVideo.js

This file was deleted.

52 changes: 0 additions & 52 deletions assets/src/blocks/Media/MediaFrontend.js

This file was deleted.

27 changes: 0 additions & 27 deletions assets/src/blocks/Media/deprecated/mediaV1.js

This file was deleted.

28 changes: 0 additions & 28 deletions assets/src/blocks/Media/setupMediaElementJS.js

This file was deleted.

2 changes: 0 additions & 2 deletions assets/src/editorIndex.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {registerColumnsBlock} from './blocks/Columns/ColumnsBlock';
import {HappypointBlock} from './blocks/Happypoint/HappypointBlock';
import {registerMediaBlock} from './blocks/Media/MediaBlock';
import {registerSocialMediaBlock} from './blocks/SocialMedia/SocialMediaBlock';
import {SocialMediaCardsBlock} from './blocks/SocialMediaCards/SocialMediaCardsBlock';
import {registerSubmenuBlock} from './blocks/Submenu/SubmenuBlock';
Expand All @@ -17,7 +16,6 @@ import {registerBlockTemplates} from './block-templates/register';

registerColumnsBlock();
new HappypointBlock();
registerMediaBlock();
registerSocialMediaBlock();
new SocialMediaCardsBlock();
registerSubmenuBlock();
Expand Down
4 changes: 0 additions & 4 deletions assets/src/frontendIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import 'regenerator-runtime/runtime';

import {HappypointFrontend} from './blocks/Happypoint/HappypointFrontend';
import {SubmenuFrontend} from './blocks/Submenu/SubmenuFrontend';
import {MediaFrontend} from './blocks/Media/MediaFrontend';
import {ColumnsFrontend} from './blocks/Columns/ColumnsFrontend';
import {setupMediaElementJS} from './blocks/Media/setupMediaElementJS';
import {setupLightboxForImages} from './components/Lightbox/setupLightboxForImages';
import {setupParallax} from './components/Parallax/setupParallax';

Expand All @@ -17,7 +15,6 @@ import {createRoot} from 'react-dom/client';
const COMPONENTS = {
'planet4-blocks/happypoint': HappypointFrontend,
'planet4-blocks/submenu': SubmenuFrontend,
'planet4-blocks/media-video': MediaFrontend,
'planet4-blocks/columns': ColumnsFrontend,
};

Expand All @@ -39,7 +36,6 @@ document.addEventListener('DOMContentLoaded', () => {
}
);

setupMediaElementJS();
setupLightboxForImages();
setupParallax();
});
1 change: 0 additions & 1 deletion assets/src/styles/blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
@import "blocks/Columns";
@import "blocks/File";
@import "blocks/Happypoint";
@import "blocks/Media";
@import "blocks/SocialMediaCards";
@import "blocks/Submenu";

Expand Down
Loading

0 comments on commit 7b63b70

Please sign in to comment.