Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm committed Apr 14, 2024
1 parent fe36510 commit 09d58a4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,6 @@ class AppServiceProvider extends ServiceProvider
This resolver must either return an instance of an `AttachableContract` implementation or `null` if the node doesn't match your attachment. In this case of an `OpengraphEmbed`, this would look something like this:

```php
<?php

namespace Workbench\App\Models\Opengraph;

use DOMElement;
use Tonysm\RichTextLaravel\Attachables\AttachableContract;

Expand All @@ -425,7 +421,7 @@ class OpengraphEmbed implements AttachableContract
}
```

You can see a full working implementation of this OpenGraph example in the Chat workbench demo (or in [this PR](https://github.com/tonysm/rich-text-laravel/pull/56)).
You can see a full working implementation of this OpenGraph example in the Chat Workbench demo (or in [this PR](https://github.com/tonysm/rich-text-laravel/pull/56)).

### Plain Text Rendering
<a name="plain-text"></a>
Expand Down

0 comments on commit 09d58a4

Please sign in to comment.