Skip to content

u/Lelectrolux

In this archive from Sep 2015 to Sep 2026

5
posts
1k
comments
0
media
3.4k
score

Is there a complete resource on what you need to know when dealing with WYSIWYG editor in backend languages ?

This is more of an open ended discussion on what you think are best practive or good ways to deal with a wysiwyg editor on backend and rendering on front. I've never found any resource that felt complete and secure (except the markdown ones but I'll need html) I've always avoided the problem by havi...

0 points3 comments
Open on Reddit

Eager loading in Eloquent : $region->hotels->first()->region make 3 queries instead of 2 ? Why ?

Lets say i have 2 Eloquent models, Region and Hotel. Each hotel has a web page with a slug url created from region name and hotel name. public function getSlugAttribute() { return \Str::slug($this->name.'-'.$this->region->name); } In one page i have a list of hotels by regions, loaded like this : $r...

5 points3 comments
Open on Reddit

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.