Skip to content

Commit dee1c61

Browse files
authored
Merge pull request #12 from terranc/terranc-patch-1
进一步兼容json字段里的节点
2 parents 81cafb5 + 24641e7 commit dee1c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function render()
1717
{
1818
$name = $this->formatName($this->column);
1919

20-
$jsId = \Illuminate\Support\Str::studly($this->id);
20+
$jsId = \Illuminate\Support\Str::studly(\Illuminate\Support\Str::slug($this->id));
2121

2222
$config = Ueditor::config('config', []);
2323

0 commit comments

Comments
 (0)