<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>facebook on Finnian Anderson</title>
    <link>https://finnian.io/tags/facebook/</link>
    <description>Recent content in facebook on Finnian Anderson</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sat, 04 Mar 2023 20:26:39 +1300</lastBuildDate><atom:link href="https://finnian.io/tags/facebook/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Integrating Facebook&#39;s new WYSIWYG editor &#39;Lexical&#39; with ActionText</title>
      <link>https://finnian.io/blog/lexical-integration-actiontext-rails/</link>
      <pubDate>Sat, 04 Mar 2023 20:26:39 +1300</pubDate>
      
      <guid>https://finnian.io/blog/lexical-integration-actiontext-rails/</guid>
      <description>I spent today getting Facebook&amp;rsquo;s new WYSIWYG editor &amp;ldquo;Lexical&amp;rdquo; working with Rails &amp;amp; ActionText. The process was fairly straightforward, but I ran into some issues along the way which I wanted to document.
First off, there&amp;rsquo;s a live demo here: https://lexical-actiontext-demo.onrender.com/
The demo uses bog-standard Rails with esbuild and simply swaps out the de-facto Trix editor for a Stimulus controller that sets up Lexical. There&amp;rsquo;s no toolbar, so you&amp;rsquo;ll need to use keyboard shortcuts (CMD+B, CMD+I etc) to get the formatting to work.</description>
    </item>
    
  </channel>
</rss>
