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

πŸš€ - UIKIT-4821: Π Π°Π±ΠΎΡ‚Π° с ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠ°ΠΌΠΈ Π² WYSIWYG #23

Closed
10 tasks done
splincode opened this issue Jul 7, 2023 · 3 comments
Assignees
Labels
feature New feature or request P1 This issue has high priority

Comments

@splincode
Copy link
Member

splincode commented Jul 7, 2023

Description

Now working with pictures in WYSIWYG is quite limited - I insert a picture and that's it. For the design of texts, sometimes more is required.

After inserting into pictures I can:

  • resize the picture (reduce/enlarge) - and see the actual result
  • can drag image to position within text
  • change the location of the image relative to the text (now all images can be NOT wrapped with text):
  • choose whether the picture is wrapped with text or not
  • choose the location of the image relative to the page

БСйчас Ρ€Π°Π±ΠΎΡ‚Π° с ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠ°ΠΌΠΈ Π² WYSIWYG достаточно ΠΎΠ³Ρ€Π°Π½ΠΈΡ‡Π΅Π½Π° - Π²ΡΡ‚Π°Π²Π»ΡΡŽ ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΡƒ ΠΈ всС. Для оформлСния тСкстов ΠΈΠ½ΠΎΠ³Π΄Π° трСбуСтся большСго.

ПослС вставки Π² ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠΈ ΠΌΠΎΠ³Ρƒ:

  • ΠΏΠΎΠΌΠ΅Π½ΡΡ‚ΡŒ Ρ€Π°Π·ΠΌΠ΅Ρ€ ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠΈ (ΡƒΠΌΠ΅Π½ΡŒΡˆΠΈΡ‚ΡŒ/ΡƒΠ²Π΅Π»ΠΈΡ‡ΠΈΡ‚ΡŒ) - ΠΈ ΡƒΠ²ΠΈΠ΄Π΅Ρ‚ΡŒ фактичСский Ρ€Π΅Π·ΡƒΠ»ΡŒΡ‚Π°Ρ‚
  • ΠΌΠΎΠ³Ρƒ ΠΏΠ΅Ρ€Π΅Ρ‚Π°ΡΠΊΠΈΠ²Π°Ρ‚ΡŒ ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΡƒ ΠΏΠΎ ΠΌΠ΅ΡΡ‚ΠΎΡ€Π°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ΠΈΡŽ Π²Π½ΡƒΡ‚Ρ€ΠΈ тСкста
  • ΠΏΠΎΠΌΠ΅Π½ΡΡ‚ΡŒ располоТСниС ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠΈ ΠΎΡ‚Π½ΠΎΡΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎ тСкста (сСйчас всС ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠΈ ΠΌΠΎΠ³ΡƒΡ‚ Π±Ρ‹Ρ‚ΡŒ НЕ ΠΎΠ±Ρ‚Π΅ΠΊΠ°Π΅ΠΌΡ‹ΠΌΠΈ тСкстом):
  • Π²Ρ‹Π±ΠΈΡ€Π°ΡŽ ΠΌΠΎΠΆΠ΅Ρ‚ Π±Ρ‹Ρ‚ΡŒ ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠ° ΠΎΠ±Ρ‚Π΅ΠΊΠ°Π΅ΠΌΠ° тСкстом ΠΈΠ»ΠΈ Π½Π΅Ρ‚
  • Π²Ρ‹Π±ΠΈΡ€Π°ΡŽ располоТСниС ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠΈ ΠΎΡ‚Π½ΠΎΡΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎ страницы
@KhaledGabr
Copy link

KhaledGabr commented Jul 12, 2023

Example of how Medium editor does image positioning:

1_XUewYOS9ASEYQOTYX2dq2w

However, a more flexible option to this, is to allow developers to create their own forms that defines how the image should be styled. For example, a developer may want to add a corner radius for images, etc. The example below is an editor with an image and video form within the editor.

252835450-23f72d61-08fd-42f0-9abf-a415b3e1dcb0

@splincode splincode added P1 This issue has high priority and removed state: need triage state need triage labels Jul 12, 2023
@splincode splincode self-assigned this Jul 31, 2024
@KhaledGabr
Copy link

Similar to the Example I had earlier .. this editor also allow adding these custom defined blocks .. where developers can define arbitrary blocks within the editor. In this case, though the form isn't embedded right in the editor but rather opens in a new panel.

image

@splincode
Copy link
Member Author

That is another feature request
image

@taiga-family taiga-family locked as resolved and limited conversation to collaborators Aug 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request P1 This issue has high priority
Projects
None yet
Development

No branches or pull requests

2 participants