playbook_ui_docs 15.1.0.pre.alpha.testingtiptap11043 → 15.1.0.pre.alpha.textinputlabelfix11151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +11 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +0 -1
- data/dist/playbook-doc.js +2 -2
- metadata +2 -3
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_simple.jsx +0 -37
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 15.1.0.pre.alpha.
|
4
|
+
version: 15.1.0.pre.alpha.textinputlabelfix11151
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-10-
|
12
|
+
date: 2025-10-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -1856,7 +1856,6 @@ files:
|
|
1856
1856
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.jsx
|
1857
1857
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.md
|
1858
1858
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_preview.jsx
|
1859
|
-
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_simple.jsx
|
1860
1859
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.html.erb
|
1861
1860
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.jsx
|
1862
1861
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.html.erb
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import RichTextEditor from '../../pb_rich_text_editor/_rich_text_editor'
|
3
|
-
import { useEditor, EditorContent } from "@tiptap/react"
|
4
|
-
import StarterKit from "@tiptap/starter-kit"
|
5
|
-
import Link from '@tiptap/extension-link'
|
6
|
-
|
7
|
-
|
8
|
-
const RichTextEditorAdvancedSimple = (props) => {
|
9
|
-
|
10
|
-
const editor = useEditor({
|
11
|
-
extensions: [
|
12
|
-
StarterKit,
|
13
|
-
Link
|
14
|
-
],
|
15
|
-
content:"Add your text here. You can format your text, add links, quotes, and bullets."
|
16
|
-
})
|
17
|
-
if (!editor) {
|
18
|
-
return null
|
19
|
-
}
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
return (
|
25
|
-
<div>
|
26
|
-
<RichTextEditor
|
27
|
-
advancedEditor={editor}
|
28
|
-
simple
|
29
|
-
{...props}
|
30
|
-
>
|
31
|
-
<EditorContent editor={editor}/>
|
32
|
-
</RichTextEditor>
|
33
|
-
</div>
|
34
|
-
)
|
35
|
-
}
|
36
|
-
|
37
|
-
export default RichTextEditorAdvancedSimple
|