Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changelogs/fix_2696-certificate-title-block-broken.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
links:
- "#2696"
entry: Fixes the Certificate Title block when creating a new certificate template.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ assets/js/llms-admin-elementor-editor.js
assets/js/llms-admin-elementor-editor.asset.php
assets/js/*.min.js
assets/js/llms-metaboxes.js
blocks/certificate-title/*
includes/class.llms.l10n.js.php
languages/lifterlms.pot

Expand Down
67 changes: 0 additions & 67 deletions blocks/certificate-title/block.json

This file was deleted.

1 change: 0 additions & 1 deletion blocks/certificate-title/index.asset.php

This file was deleted.

13 changes: 0 additions & 13 deletions blocks/certificate-title/index.js

This file was deleted.

3 changes: 3 additions & 0 deletions src/blocks/certificate-title/edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export default function Edit( {
return origSetAttributes( attrs );
};

const context = [];

return (
<>
<HeadingEdit { ...{
Expand All @@ -56,6 +58,7 @@ export default function Edit( {
onReplace,
style,
clientId,
context
} } />
</>
);
Expand Down