Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SiKo with Richtext-Editor #489

Merged
merged 21 commits into from
Jul 29, 2020
Merged

Conversation

pmattmann
Copy link
Member

@pmattmann pmattmann commented Jul 9, 2020

Richtext-Editor:

  • VTiptapEditor like VTextarea
  • ERichtext like ETextarea (Form Control)
  • ApiRichtext like ApiTextarea (Api Auto-Save Control)

Todos:

  • TipTap as RichText Control
  • Validation-Message
  • AutoSave Feedback (saving, check, error)
  • HTML Purifier Server-Side (as InputFilter)

Replaces #483, #491, #492

Richtext-Editor:
- VTiptapEditor like VTextarea
- ERichtext like ETextarea (Form Control)
- ApiRichtext like ApiTextarea (Api Auto-Save Control)
@pmattmann
Copy link
Member Author

Aktuelles Aussehen:

image

Probiert es aus...

@carlobeltrame
Copy link
Member

Genial dass dus hingebracht hast mit Vuetify!
Sollten wir vielleicht SiKo auf englisch SafetyConcept oder so nennen? (Security wäre Absicherung gegen Eindringlinge etc., Safety ist Absicherung gegen Unfälle etc.). Aus den gleichen Gründen dass wir Activity und nicht Block schreiben

Replace <br> and <br/> with <br /> to be compatible with HTMLPurifier
@pmattmann pmattmann mentioned this pull request Jul 11, 2020
(update snapshot)
Erluabt den direkten vergleich von Vuetify-, E- und Api-Controls
@manuelmeister
Copy link
Member

Tiptap wird für die weitere Entwicklung auf eine andere Organisation migriert. Sollte aber weiter kein Problem sein.
ueberdosis/tiptap#759

…ecamp3 into feature/tiptap-editor

# Conflicts:
#	frontend/src/components/form/api/ApiTextField.vue
- tiptap-editor
- edit-activity
- date-time-picker
vereinheitlicht
unbenannt
campfilter moved to BaseContentTypeService
…tiptap-editor

# Conflicts:
#	backend/composer.json
#	backend/composer.lock
#	backend/module/eCampCore/data/prod/ActivityTypeData.php
#	backend/module/eCampCore/data/prod/ContentTypeData.php
#	frontend/src/components/activity/layouts/General.vue
@pmattmann pmattmann linked an issue Jul 25, 2020 that may be closed by this pull request
Copy link
Member

@usu usu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

2 Dinge die sicher noch Improvement brauchen (kann man aber easy nach dem mergen anschauen als separate Issues):

  • Titel eines ActivityContent bearbeiten braucht sicher noch Improvement
  • Textfeld ohne aktiviertes Richtext: Verwendung von < und > hat eher unschönes Verhalten. Manchmal wird ein Tag "erkannt" und ganzer Textblock gelöscht, manchmal durch &lt; und &gt; ersetzt

@pmattmann
Copy link
Member Author

Habe für die Punkte von Urban zwei neue Issues erfasst.

@pmattmann pmattmann merged commit 1388a69 into ecamp:devel Jul 29, 2020
@pmattmann pmattmann deleted the feature/tiptap-editor branch October 4, 2020 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ActivityContent: SiKo + RichText Manual input for DatePicker and TimePicker
4 participants